From a3ad908b56c2da1858f9ea37856443701eb5cf5a 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 1fb76d0d4..737ff8116 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) }