Do not trigger update check when in dev mode
This commit is contained in:
parent
7fd179c6dd
commit
a3ad908b56
|
@ -232,7 +232,7 @@ func (c *cmd) run(args []string) int {
|
||||||
defer agent.ShutdownEndpoints()
|
defer agent.ShutdownEndpoints()
|
||||||
defer agent.ShutdownAgent()
|
defer agent.ShutdownAgent()
|
||||||
|
|
||||||
if !config.DisableUpdateCheck {
|
if !config.DisableUpdateCheck && !config.DevMode {
|
||||||
c.startupUpdateCheck(config)
|
c.startupUpdateCheck(config)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue