Skip to content

Commit

Permalink
change expected response from ACCEPTED to OK (apache#3280)
Browse files Browse the repository at this point in the history
  • Loading branch information
dclim authored and fjy committed Jul 24, 2016
1 parent b316cde commit d5ed3f1
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -511,7 +511,7 @@ public void shutdown(final String taskId)
response.getContent()
);

if (!response.getStatus().equals(HttpResponseStatus.ACCEPTED)) {
if (!HttpResponseStatus.OK.equals(response.getStatus())) {
log.error("Shutdown failed for %s! Are you sure the task was running?", taskId);
}
}
Expand Down

0 comments on commit d5ed3f1

Please sign in to comment.