Skip to content
This repository has been archived by the owner on Feb 11, 2022. It is now read-only.

Commit

Permalink
Merge pull request #457 from Sharpie/dont-lock-for-ssh
Browse files Browse the repository at this point in the history
Allow status and ssh to run without a lock
  • Loading branch information
R. Tyler Croy committed Jul 3, 2016
2 parents c6e2963 + 2c13da2 commit 3036c8a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/vagrant-aws/provider.rb
Original file line number Diff line number Diff line change
Expand Up @@ -21,15 +21,15 @@ def ssh_info
# Run a custom action called "read_ssh_info" which does what it
# says and puts the resulting SSH info into the `:machine_ssh_info`
# key in the environment.
env = @machine.action("read_ssh_info")
env = @machine.action("read_ssh_info", lock: false)
env[:machine_ssh_info]
end

def state
# Run a custom action we define called "read_state" which does
# what it says. It puts the state in the `:machine_state_id`
# key in the environment.
env = @machine.action("read_state")
env = @machine.action("read_state", lock: false)

state_id = env[:machine_state_id]

Expand Down

0 comments on commit 3036c8a

Please sign in to comment.