[ISSUE-88] Add env variable round-trip, profile-aware SSL, and getStack support #132
@ -23,7 +23,7 @@ public class DeployService {
|
||||
|
||||
public void redeploy(Long stackId) {
|
||||
PortainerStack stack = portainerApiClient.getStack(stackId);
|
||||
List<EnvVariable> env = stack.getEnv();
|
||||
List<EnvVariable> env = stack.getEnv() != null ? stack.getEnv() : List.of();
|
||||
portainerApiClient.redeployGitStack(stackId, props.getEndpointId(), true, env);
|
||||
}
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user