examples/create_instance.rb in fog-google-0.5.1 vs examples/create_instance.rb in fog-google-0.5.2
- old
+ new
@@ -23,10 +23,10 @@
:disks => [disk],
:machine_type => "n1-standard-1",
:private_key_path => File.expand_path("~/.ssh/id_rsa"),
:public_key_path => File.expand_path("~/.ssh/id_rsa.pub"),
:zone_name => "us-central1-f",
- :user => ENV["USER"],
+ :username => ENV["USER"],
:tags => ["fog"],
:service_accounts => %w(sql-admin bigquery https://www.googleapis.com/auth/compute)
)
# Wait_for routine copied here to show errors, if necessary.