forked from Hithomelabs/CFTunnels
Set Prune=true in redeployGitStack to fix container name conflict on redeploy #6
@ -247,7 +247,7 @@ public class PortainerApiClient {
|
|||||||
throw new PortainerDeploymentException("Endpoint ID must not be null");
|
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());
|
HttpEntity<PortainerRedeployRequest> entity = new HttpEntity<>(body, buildAuthHeaders());
|
||||||
|
|
||||||
try {
|
try {
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user