Hithomelabs/CFTunnels#: Set Prune=true in redeployGitStack to fix container name conflict

This commit is contained in:
Dave the Dev 2026-07-08 21:43:32 +00:00
parent cd270084ad
commit 45e089e12d

View File

@ -247,7 +247,7 @@ public class PortainerApiClient {
throw new PortainerDeploymentException("Endpoint ID must not be null");
}
PortainerRedeployRequest body = new PortainerRedeployRequest(pullImage, false, env);
PortainerRedeployRequest body = new PortainerRedeployRequest(pullImage, true, env);
HttpEntity<PortainerRedeployRequest> entity = new HttpEntity<>(body, buildAuthHeaders());
try {