Update proto Service => Config

This commit is contained in:
Asim Aslam
2020-01-23 11:37:54 +00:00
parent 6d636b7ab3
commit 1c19678d04
5 changed files with 117 additions and 114 deletions

View File

@@ -6,10 +6,10 @@ import (
)
type watcher struct {
stream proto.Service_WatchService
stream proto.Config_WatchService
}
func newWatcher(stream proto.Service_WatchService) (source.Watcher, error) {
func newWatcher(stream proto.Config_WatchService) (source.Watcher, error) {
return &watcher{stream: stream}, nil
}