mirror of https://github.com/portainer/portainer
				
				
				
			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>pull/4935/head
							parent
							
								
									a7ed6222b0
								
							
						
					
					
						commit
						bca32b02c7
					
				| 
						 | 
				
			
			@ -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…
	
		Reference in New Issue