Skip to content

Commit

Permalink
Handle 'health_status' container event
Browse files Browse the repository at this point in the history
This avoids an obsolete UI state when a new health check result is
available, and silences an "Unknown event type" console warning. Before
this was covered up by listening to lots of other (unrelated) events,
which mostly (but not always!) update the UI anyway to show the new
health event.
  • Loading branch information
martinpitt committed Jul 13, 2023
1 parent eed34d9 commit b925479
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/app.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -352,6 +352,7 @@ class Application extends React.Component {
case 'create':
case 'died':
case 'exec_died':
case 'health_status':
case 'kill':
case 'cleanup':
case 'mount':
Expand Down

0 comments on commit b925479

Please sign in to comment.