1
0
Fork 0
mirror of https://github.com/portainer/portainer.git synced 2025-08-04 13:25:26 +02:00

Merge branch "feat99-container-exec-event" into internal

This commit is contained in:
Anthony Lapenna 2016-08-03 21:31:32 +12:00
commit 20eecffc40
3 changed files with 8 additions and 2 deletions

BIN
api/ui-for-docker Executable file

Binary file not shown.

View file

@ -58,8 +58,14 @@ function createEventDetails(event) {
details = 'Container ' + eventAttr.name + ' unpaused'; details = 'Container ' + eventAttr.name + ' unpaused';
break; break;
default: default:
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'; details = 'Unsupported event';
} }
}
break; break;
case 'image': case 'image':
switch (event.Action) { switch (event.Action) {