1
0
mirror of https://github.com/go-micro/go-micro.git synced 2025-06-18 22:17:44 +02:00

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

@ -78,6 +78,11 @@ func (c *cliSource) Watch() (source.Watcher, error) {
return source.NewNoopWatcher()
}
// Write is unsupported
func (c *cliSource) Write(cs *source.ChangeSet) error {
return nil
}
func (c *cliSource) String() string {
return "cli"
}