diff --git a/lib/beaker/hypervisor/google_compute_helper.rb b/lib/beaker/hypervisor/google_compute_helper.rb index 52ccf43..0ebece0 100644 --- a/lib/beaker/hypervisor/google_compute_helper.rb +++ b/lib/beaker/hypervisor/google_compute_helper.rb @@ -535,7 +535,7 @@ def create_instance(name, img, machine_type, disk_size, hostname) instance_opts[:hostname] = valid_hostname end - new_instance = ::Google::Apis::ComputeV1::Instance.new(instance_opts) + new_instance = ::Google::Apis::ComputeV1::Instance.new(**instance_opts) operation = @compute.insert_instance(@options[:gce_project], @options[:gce_zone], new_instance) @compute.wait_zone_operation(@options[:gce_project], @options[:gce_zone], operation.name)