fix(docker-event-display): support the exec exited event type (#5990)

Signed-off-by: Sven Dowideit <sven.dowideit@portainer.io>
fix/swagger/restore-params
Sven Dowideit 2021-11-15 10:00:37 +10:00 committed by GitHub
parent 7d92aa1971
commit 22b72fb6e3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 0 deletions

View File

@ -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';
} }