mirror of https://github.com/portainer/portainer
fix(kube): check for ns on enter [EE-5160] (#8647)
Co-authored-by: testa113 <testa113>pull/8660/head
parent
77b49ae9c5
commit
37f382d286
|
@ -46,6 +46,8 @@ angular.module('portainer.kubernetes', ['portainer.app', registriesModule, custo
|
|||
if (endpoint.Type === PortainerEndpointTypes.EdgeAgentOnKubernetesEnvironment && endpoint.Status === EnvironmentStatus.Down) {
|
||||
throw new Error('Unable to contact Edge agent, please ensure that the agent is properly running on the remote environment.');
|
||||
}
|
||||
|
||||
await KubernetesNamespaceService.get();
|
||||
} catch (e) {
|
||||
let params = {};
|
||||
|
||||
|
|
Loading…
Reference in New Issue