mirror of
https://github.com/status-im/consul.git
synced 2025-01-11 06:16:08 +00:00
Do not trigger update check when in dev mode
This commit is contained in:
parent
19f44cd1cc
commit
c24c73bc59
@ -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…
x
Reference in New Issue
Block a user