Commit 65e2731f authored by Markus Doits's avatar Markus Doits

fix failure in case of missing options

parent 024523a3
......@@ -900,7 +900,7 @@ module Ci
# sure that the format is always correct when accessing the retry options,
# even on old builds.
def normalized_retry
value = options[:retry]
value = options&.dig(:retry)
value.is_a?(Integer) ? { max: value } : value.to_h
end
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment