Skip to content

Commit 80293cf

Browse files
Merge pull request #77 from schubergphilis/fix-error
Use new style ruby hash syntax
2 parents 76dd359 + c308841 commit 80293cf

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

lib/vagrant-cloudstack/action/run_instance.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -191,7 +191,7 @@ def call(env)
191191

192192
# Notify the user
193193
raise Errors::InstanceReadyTimeout,
194-
timeout: domain_config.instance_ready_timeout
194+
:timeout => domain_config.instance_ready_timeout
195195
end
196196
end
197197

lib/vagrant-cloudstack/action/start_instance.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ def call(env)
4444
rescue Fog::Errors::TimeoutError
4545
# Notify the user
4646
raise Errors::InstanceReadyTimeout,
47-
timeout: domain_config.instance_ready_timeout
47+
:timeout => domain_config.instance_ready_timeout
4848
end
4949
end
5050
rescue Fog::Compute::Cloudstack::Error => e

0 commit comments

Comments
 (0)