Skip to content

Commit

Permalink
marklogic-community#703: extra check in case max is undefined, or zer…
Browse files Browse the repository at this point in the history
…o or less
  • Loading branch information
grtjn committed Jun 7, 2017
1 parent 118cad8 commit 3aa8a69
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion deploy/lib/server_config.rb
Original file line number Diff line number Diff line change
Expand Up @@ -652,7 +652,9 @@ def restart
retry_count += 1
end

if new_timestamp == old_timestamp
if retry_max < 1
puts ": SKIPPED"
elsif new_timestamp == old_timestamp
puts ": FAILED"
else
puts ": OK"
Expand Down

0 comments on commit 3aa8a69

Please sign in to comment.