mirror of
https://github.com/portainer/portainer.git
synced 2025-08-05 05:45:22 +02:00
feat(events): add support for container exec related events (#100)
This commit is contained in:
parent
7801a91149
commit
232b180eef
1 changed files with 7 additions and 1 deletions
|
@ -58,8 +58,14 @@ function createEventDetails(event) {
|
|||
details = 'Container ' + eventAttr.name + ' unpaused';
|
||||
break;
|
||||
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';
|
||||
}
|
||||
}
|
||||
break;
|
||||
case 'image':
|
||||
switch (event.Action) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue