mirror of
https://github.com/portainer/portainer.git
synced 2025-07-19 05:19:39 +02:00
update logic to purge the cache, update the message when the environment can't be reached (#10298)
This commit is contained in:
parent
4c16594a25
commit
291625959b
3 changed files with 15 additions and 7 deletions
|
@ -53,7 +53,7 @@ angular.module('portainer.kubernetes', ['portainer.app', registriesModule, custo
|
|||
try {
|
||||
await getSelfSubjectAccessReview(endpoint.Id, 'default');
|
||||
} catch (e) {
|
||||
throw new Error('Environment is unreachable.');
|
||||
throw new Error(`The environment named ${endpoint.Name} is unreachable.`);
|
||||
}
|
||||
} catch (e) {
|
||||
let params = {};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue