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

@@ -77,6 +77,10 @@ func (fs *flagsrc) Watch() (source.Watcher, error) {
return source.NewNoopWatcher()
}
func (fs *flagsrc) Write(cs *source.ChangeSet) error {
return nil
}
func (fs *flagsrc) String() string {
return "flag"
}