mirror of
https://github.com/portainer/portainer.git
synced 2025-07-19 05:19:39 +02:00
fix(k8s/endpoint): update endpoint URL (#4484)
* fix(k8s/endpoint): update endpoint URL * fix(endpoints): handle kube agent url * fix(endpoints): fix handling endpoint urls Co-authored-by: Chaim Lev-Ari <chiptus@gmail.com>
This commit is contained in:
parent
a7ed6222b0
commit
bca32b02c7
1 changed files with 4 additions and 0 deletions
|
@ -147,6 +147,10 @@ angular
|
|||
payload.URL = 'tcp://' + endpoint.URL;
|
||||
}
|
||||
|
||||
if (endpoint.Type === PortainerEndpointTypes.AgentOnKubernetesEnvironment) {
|
||||
payload.URL = endpoint.URL;
|
||||
}
|
||||
|
||||
$scope.state.actionInProgress = true;
|
||||
EndpointService.updateEndpoint(endpoint.Id, payload).then(
|
||||
function success() {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue