mirror of https://github.com/portainer/portainer
Merge branch "feat99-container-exec-event" into internal
commit
20eecffc40
Binary file not shown.
|
@ -154,4 +154,4 @@ angular.module('uifordocker', [
|
|||
.constant('DOCKER_ENDPOINT', 'dockerapi')
|
||||
.constant('DOCKER_PORT', '') // Docker port, leave as an empty string if no port is requred. If you have a port, prefix it with a ':' i.e. :4243
|
||||
.constant('CONFIG_ENDPOINT', 'settings')
|
||||
.constant('UI_VERSION', 'v1.5.0');
|
||||
.constant('UI_VERSION', 'v1.5.0');
|
||||
|
|
|
@ -58,7 +58,13 @@ function createEventDetails(event) {
|
|||
details = 'Container ' + eventAttr.name + ' unpaused';
|
||||
break;
|
||||
default:
|
||||
details = 'Unsupported event';
|
||||
if (event.Action.indexOf('exec_create') === 0) {
|
||||
details = 'Exec instance created';
|
||||
} else if (event.Action.indexOf('exec_start') === 0) {
|
||||
details = 'Exec instance started';
|
||||
} else {
|
||||
details = 'Unsupported event';
|
||||
}
|
||||
}
|
||||
break;
|
||||
case 'image':
|
||||
|
|
Loading…
Reference in New Issue