Skip to content

Commit

Permalink
Fix comparison.
Browse files Browse the repository at this point in the history
  • Loading branch information
Marcelo Vanzin committed May 7, 2015
1 parent ed3bcd4 commit 96f648b
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ class HistoryServer(
}

val appId = parts(1)
val attemptId = if (parts.length > 3) Some(parts(2)) else None
val attemptId = if (parts.length >= 3) Some(parts(2)) else None

// Since we may have applications with multiple attempts mixed with applications with a
// single attempt, we need to try both. Try the single-attempt route first, and if an
Expand Down

0 comments on commit 96f648b

Please sign in to comment.