mirror of https://github.com/portainer/portainer
feat(events): add support for container exec related events
parent
7801a91149
commit
4a738ee362
|
@ -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