mirror of
https://github.com/portainer/portainer.git
synced 2025-07-25 08:19:40 +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
|
@ -34,7 +34,7 @@ angular.module('portainer.docker', ['portainer.app', reactModule]).config([
|
|||
endpoint.Status = status;
|
||||
|
||||
if (status === EnvironmentStatus.Down) {
|
||||
throw new Error('Environment is unreachable.');
|
||||
throw new Error(`The environment named ${endpoint.Name} is unreachable.`);
|
||||
}
|
||||
|
||||
await StateManager.updateEndpointState(endpoint);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue