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

[google|compute] fix typo on disk example

This commit is contained in:
Romain Vrignaud 2013-08-05 11:26:44 +02:00
parent ac8f123900
commit d06ce67cd6

View file

@ -1,7 +1,7 @@
def test
connection = Fog::Compute.new({ :provider => "Google" })
time = Time.now.utc.to_i
disk = connection.disks.create({:name => 'foggydisk', :size => 10, :zone_name => 'us-central1-a', :image_name => 'centos-6-v20130522'})
disk = connection.disks.create({:name => 'foggydisk', :size_gb => 10, :zone_name => 'us-central1-a', :image_name => 'centos-6-v20130522'})
disk.wait_for { disk.ready? }
params = {