mirror of https://github.com/portainer/portainer
fix(app):fix local k8s endpoint not saved EE-825 (#5162)
parent
26ead28d7b
commit
14ac005627
|
@ -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…
Reference in New Issue