Skip to content

Commit

Permalink
Test on Ruby 3
Browse files Browse the repository at this point in the history
  • Loading branch information
ofedoren committed Feb 2, 2024
1 parent 44dc7d2 commit 8d1f141
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 8d1f141

Please sign in to comment.