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

Allow status and ssh to run without a lock #457

Merged
merged 1 commit into from
Jul 3, 2016
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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