From 599311914d987cb39d4bf1dfce64ffeec10e43f4 Mon Sep 17 00:00:00 2001 From: oscarzhou Date: Thu, 29 Aug 2024 20:33:11 +1200 Subject: [PATCH] fix(edge): add forceRedeploy option --- api/edge/edge.go | 3 +++ 1 file changed, 3 insertions(+) diff --git a/api/edge/edge.go b/api/edge/edge.go index aac5c3029..63ff35159 100644 --- a/api/edge/edge.go +++ b/api/edge/edge.go @@ -51,6 +51,9 @@ type ( // Used only for EE // EnvVars is a list of environment variables to inject into the stack EnvVars []portainer.Pair + // ForceRedeploy is a flag indicating if the agent should force the redeploy of the stack. + // Used only for EE + ForceRedeploy bool // Used only for EE async edge agent // ReadyRePullImage is a flag to indicate whether the auto update is trigger to re-pull image