lib/fog/compute/google/requests/insert_instance_group.rb in fog-google-1.13.0 vs lib/fog/compute/google/requests/insert_instance_group.rb in fog-google-1.14.0
- old
+ new
@@ -16,12 +16,12 @@
else
network_name = GOOGLE_COMPUTE_DEFAULT_NETWORK
end
instance_group = ::Google::Apis::ComputeV1::InstanceGroup.new(
- :description => options["description"],
- :name => group_name,
- :network => "https://www.googleapis.com/compute/#{api_version}/projects/#{@project}/global/networks/#{network_name}"
+ description: options["description"],
+ name: group_name,
+ network: "https://www.googleapis.com/compute/#{api_version}/projects/#{@project}/global/networks/#{network_name}"
)
@compute.insert_instance_group(@project,
last_url_segment(zone),
instance_group)