mirror of https://github.com/portainer/portainer
fix(home): fix an issue when trying to connect to an Azure ACI endpoint (#2671)
parent
2eec8b75d0
commit
899cd5f279
|
@ -66,7 +66,7 @@ function ($q, $scope, $state, Authentication, EndpointService, EndpointHelper, G
|
||||||
EndpointProvider.setEndpointID(endpoint.Id);
|
EndpointProvider.setEndpointID(endpoint.Id);
|
||||||
EndpointProvider.setEndpointPublicURL(endpoint.PublicURL);
|
EndpointProvider.setEndpointPublicURL(endpoint.PublicURL);
|
||||||
EndpointProvider.setOfflineModeFromStatus(endpoint.Status);
|
EndpointProvider.setOfflineModeFromStatus(endpoint.Status);
|
||||||
StateManager.updateEndpointState(endpoint.Name, endpoint.Type, [])
|
StateManager.updateEndpointState(endpoint, [])
|
||||||
.then(function success() {
|
.then(function success() {
|
||||||
$state.go('azure.dashboard');
|
$state.go('azure.dashboard');
|
||||||
})
|
})
|
||||||
|
|
Loading…
Reference in New Issue