feat(events): add support for container exec related events

pull/100/head
Anthony Lapenna 8 years ago
parent 7801a91149
commit 4a738ee362

@ -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) {

Loading…
Cancel
Save