add Write method to config source

This commit is contained in:
Asim Aslam
2019-12-23 08:42:57 +00:00
parent 1781542964
commit ef95b28e3d
7 changed files with 26 additions and 0 deletions

View File

@@ -41,6 +41,10 @@ func (s *memory) Watch() (source.Watcher, error) {
return w, nil
}
func (m *memory) Write(cs *source.ChangeSet) error {
return nil
}
// Update allows manual updates of the config data.
func (s *memory) Update(c *source.ChangeSet) {
// don't process nil