1
0
Fork 0
mirror of https://github.com/fog/fog.git synced 2022-11-09 13:51:43 -05:00

[google|compute] Fix operations scopes for compute engine

This commit is contained in:
ashmrtnz 2014-07-01 21:15:20 +00:00
parent 6105888499
commit 44afabb08a
2 changed files with 2 additions and 2 deletions

View file

@ -30,7 +30,7 @@ module Fog
}
data = service.insert_forwarding_rule(name, region, options).body
operation = Fog::Compute::Google::Operations.new(:service => service).get(data['name'], data['zone'])
operation = Fog::Compute::Google::Operations.new(:service => service).get(data['name'], nil, data['region'])
operation.wait_for { !pending? }
reload
end

View file

@ -32,7 +32,7 @@ module Fog
}
data = service.insert_target_pool(name, region, options).body
operation = Fog::Compute::Google::Operations.new(:service => service).get(data['name'], data['zone'])
operation = Fog::Compute::Google::Operations.new(:service => service).get(data['name'], nil, data['region'])
operation.wait_for { !pending? }
reload
end