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

pull/102/head
Anthony Lapenna 2016-08-03 21:28:27 +12:00 committed by GitHub
parent 7801a91149
commit 232b180eef
1 changed files with 7 additions and 1 deletions

View File

@ -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':