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

@@ -76,6 +76,10 @@ func (c *etcd) Watch() (source.Watcher, error) {
return newWatcher(c.prefix, c.stripPrefix, c.client.Watcher, cs, c.opts)
}
func (c *etcd) Write(cs *source.ChangeSet) error {
return nil
}
func NewSource(opts ...source.Option) source.Source {
options := source.NewOptions(opts...)