mirror of
https://github.com/portainer/portainer.git
synced 2025-08-04 05:15:25 +02:00
Merge branch "feat99-container-exec-event" into internal
This commit is contained in:
commit
20eecffc40
3 changed files with 8 additions and 2 deletions
BIN
api/ui-for-docker
Executable file
BIN
api/ui-for-docker
Executable file
Binary file not shown.
|
@ -58,7 +58,13 @@ function createEventDetails(event) {
|
||||||
details = 'Container ' + eventAttr.name + ' unpaused';
|
details = 'Container ' + eventAttr.name + ' unpaused';
|
||||||
break;
|
break;
|
||||||
default:
|
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;
|
break;
|
||||||
case 'image':
|
case 'image':
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue