Merge pull request #661 from XiaoLer/patch-2
Fix read yaml config from memory
This commit is contained in:
		| @@ -18,6 +18,7 @@ type memory struct { | |||||||
| func (s *memory) Read() (*source.ChangeSet, error) { | func (s *memory) Read() (*source.ChangeSet, error) { | ||||||
| 	s.RLock() | 	s.RLock() | ||||||
| 	cs := &source.ChangeSet{ | 	cs := &source.ChangeSet{ | ||||||
|  | 		Format:    s.ChangeSet.Format, | ||||||
| 		Timestamp: s.ChangeSet.Timestamp, | 		Timestamp: s.ChangeSet.Timestamp, | ||||||
| 		Data:      s.ChangeSet.Data, | 		Data:      s.ChangeSet.Data, | ||||||
| 		Checksum:  s.ChangeSet.Checksum, | 		Checksum:  s.ChangeSet.Checksum, | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user