Merge pull request #661 from XiaoLer/patch-2

Fix read yaml config from memory
This commit is contained in:
Asim Aslam 2019-08-11 12:03:18 +01:00 committed by GitHub
commit 1a600810a7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -18,6 +18,7 @@ type memory struct {
func (s *memory) Read() (*source.ChangeSet, error) {
s.RLock()
cs := &source.ChangeSet{
Format: s.ChangeSet.Format,
Timestamp: s.ChangeSet.Timestamp,
Data: s.ChangeSet.Data,
Checksum: s.ChangeSet.Checksum,