From c24c73bc594224f43e84669fd46bd7dabd97307c Mon Sep 17 00:00:00 2001 From: Freddy Date: Tue, 7 May 2019 09:15:34 -0600 Subject: [PATCH] Do not trigger update check when in dev mode --- command/agent/agent.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/command/agent/agent.go b/command/agent/agent.go index 1fb76d0d43..737ff81168 100644 --- a/command/agent/agent.go +++ b/command/agent/agent.go @@ -232,7 +232,7 @@ func (c *cmd) run(args []string) int { defer agent.ShutdownEndpoints() defer agent.ShutdownAgent() - if !config.DisableUpdateCheck { + if !config.DisableUpdateCheck && !config.DevMode { c.startupUpdateCheck(config) }