Skip to content

Commit

Permalink
Fix
Browse files Browse the repository at this point in the history
  • Loading branch information
joaopamaral committed Oct 7, 2024
1 parent 215ac66 commit 3a3ba16
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -161,8 +161,8 @@ class BatchJobSubmission(
}
}

private def getAppState(operState: OperationState, appState: ApplicationState): Unit = {
if (state == ERROR && appState != ApplicationState.FAILED) {
private def getAppState(operState: OperationState, appState: ApplicationState.ApplicationState): ApplicationState.ApplicationState = {
if (state == OperationState.ERROR && appState != ApplicationState.FAILED) {
ApplicationState.UNKNOWN
}
appState
Expand Down

0 comments on commit 3a3ba16

Please sign in to comment.