Skip to content

Commit

Permalink
Support Ruby 3.0
Browse files Browse the repository at this point in the history
  • Loading branch information
ofedoren authored and stejskalleos committed Mar 6, 2024
1 parent 068c71f commit cdac3d4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions app/lib/foreman_google/google_compute_adapter.rb
Original file line number Diff line number Diff line change
Expand Up @@ -18,10 +18,10 @@ def insert_instance(zone, attrs = {})
operation_attrs = { zone: zone, operation: response.operation.id.to_s }

wait_for do
get('zone_operations', operation_attrs).status == :DONE
get('zone_operations', **operation_attrs).status == :DONE
end

e = get('zone_operations', operation_attrs).error
e = get('zone_operations', **operation_attrs).error

return response unless e

Expand Down

0 comments on commit cdac3d4

Please sign in to comment.