Start converger even if graph is empty

This commit is contained in:
James Shubin
2016-08-10 09:39:52 -04:00
parent fa4f5abc78
commit bdb970203c

View File

@@ -244,6 +244,9 @@ func run(c *cli.Context) error {
} }
}() }()
if !c.IsSet("file") && !c.IsSet("puppet") {
converger.Start() // better start this for empty graphs
}
log.Println("Main: Running...") log.Println("Main: Running...")
waitForSignal(exit) // pass in exit channel to watch waitForSignal(exit) // pass in exit channel to watch