only look up rpchandler for node if we have nodeid

fix some comments and nomad monitor -h output
This commit is contained in:
Drew Bailey
2019-10-25 10:58:54 -04:00
parent cd60628b31
commit c8d60dd6f9
5 changed files with 20 additions and 13 deletions

View File

@@ -382,7 +382,6 @@ func (c *Command) setupLoggers(config *Config) (*gatedwriter.Writer, io.Writer)
Writer: &cli.UiWriter{Ui: c.Ui},
}
// TODO can this be killed
c.logFilter = LevelFilter()
c.logFilter.MinLevel = logutils.LogLevel(strings.ToUpper(config.LogLevel))
c.logFilter.Writer = logGate