mirror of https://github.com/portainer/portainer
fix(kube): check for ns on enter [EE-5160] (#8648)
Co-authored-by: testa113 <testa113>pull/8663/head
parent
f859876cb6
commit
6edc210ae7
|
@ -46,6 +46,8 @@ angular.module('portainer.kubernetes', ['portainer.app', registriesModule, custo
|
||||||
if (endpoint.Type === PortainerEndpointTypes.EdgeAgentOnKubernetesEnvironment && endpoint.Status === EnvironmentStatus.Down) {
|
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.');
|
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) {
|
} catch (e) {
|
||||||
let params = {};
|
let params = {};
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue