mirror of https://github.com/portainer/portainer
fix(docker-event-display): support the exec exited event type (#5990)
Signed-off-by: Sven Dowideit <sven.dowideit@portainer.io>fix/swagger/restore-params
parent
7d92aa1971
commit
22b72fb6e3
|
@ -69,6 +69,8 @@ function createEventDetails(event) {
|
||||||
details = 'Exec instance created';
|
details = 'Exec instance created';
|
||||||
} else if (event.Action.indexOf('exec_start') === 0) {
|
} else if (event.Action.indexOf('exec_start') === 0) {
|
||||||
details = 'Exec instance started';
|
details = 'Exec instance started';
|
||||||
|
} else if (event.Action.indexOf('exec_die') === 0) {
|
||||||
|
details = 'Exec instance exited ';
|
||||||
} else {
|
} else {
|
||||||
details = 'Unsupported event';
|
details = 'Unsupported event';
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue