fix(app):fix local k8s endpoint not saved EE-825 (#5162)

pull/4444/merge
Richard Wei 4 years ago committed by GitHub
parent 26ead28d7b
commit 14ac005627
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -147,7 +147,7 @@ angular
payload.URL = 'tcp://' + endpoint.URL;
}
if (endpoint.Type === PortainerEndpointTypes.AgentOnKubernetesEnvironment) {
if (endpoint.Type === PortainerEndpointTypes.AgentOnKubernetesEnvironment || endpoint.Type === PortainerEndpointTypes.KubernetesLocalEnvironment) {
payload.URL = endpoint.URL;
}

Loading…
Cancel
Save