cli: Removed obsolete no-watch-config flag

Having it around creates the expectation that by default mgmt will put a watch
on the config.
This commit is contained in:
Wouter Dullaert
2019-04-22 12:04:55 +02:00
parent 22d893fc1e
commit d65c85c19f
6 changed files with 1 additions and 14 deletions

View File

@@ -294,8 +294,6 @@ func (obj *GAPI) Next() chan gapi.Next {
close(startChan) // kick it off!
var pChan <-chan time.Time
// NOTE: we don't look at obj.data.NoConfigWatch since emulating
// puppet means we do not switch graphs on code changes anyways.
if obj.data.NoStreamWatch {
pChan = nil
} else {