Skip to content

Commit

Permalink
Fix issue where dashboard isn't shutting down even with unmet plugin …
Browse files Browse the repository at this point in the history
…dependency. Closes #1711
  • Loading branch information
binaek authored Mar 21, 2022
1 parent 124acbc commit dde6986
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cmd/dashboard.go
Original file line number Diff line number Diff line change
Expand Up @@ -129,7 +129,7 @@ func handleDashboardInitResult(ctx context.Context, initData *dashboard.InitData
// if there is an error or cancellation we bomb out
if err := initData.Result.Error; err != nil {
setExitCodeForDashboardError(err)
return false, initData.Result.Error
return true, initData.Result.Error
}
// cancelled?
if ctx != nil && ctx.Err() != nil {
Expand Down

0 comments on commit dde6986

Please sign in to comment.