|
|
@ -105,6 +105,9 @@ function createEventDetails(event) {
|
|
|
|
case 'unpause':
|
|
|
|
case 'unpause':
|
|
|
|
details = 'Container ' + eventAttr.name + ' unpaused';
|
|
|
|
details = 'Container ' + eventAttr.name + ' unpaused';
|
|
|
|
break;
|
|
|
|
break;
|
|
|
|
|
|
|
|
case 'attach':
|
|
|
|
|
|
|
|
details = 'Container ' + eventAttr.name + ' attached';
|
|
|
|
|
|
|
|
break;
|
|
|
|
default:
|
|
|
|
default:
|
|
|
|
if (event.Action.indexOf('exec_create') === 0) {
|
|
|
|
if (event.Action.indexOf('exec_create') === 0) {
|
|
|
|
details = 'Exec instance created';
|
|
|
|
details = 'Exec instance created';
|
|
|
@ -159,6 +162,12 @@ function createEventDetails(event) {
|
|
|
|
case 'destroy':
|
|
|
|
case 'destroy':
|
|
|
|
details = 'Volume ' + event.Actor.ID + ' deleted';
|
|
|
|
details = 'Volume ' + event.Actor.ID + ' deleted';
|
|
|
|
break;
|
|
|
|
break;
|
|
|
|
|
|
|
|
case 'mount':
|
|
|
|
|
|
|
|
details = 'Volume ' + event.Actor.ID + ' mounted';
|
|
|
|
|
|
|
|
break;
|
|
|
|
|
|
|
|
case 'unmount':
|
|
|
|
|
|
|
|
details = 'Volume ' + event.Actor.ID + ' unmounted';
|
|
|
|
|
|
|
|
break;
|
|
|
|
default:
|
|
|
|
default:
|
|
|
|
details = 'Unsupported event';
|
|
|
|
details = 'Unsupported event';
|
|
|
|
}
|
|
|
|
}
|
|
|
|