Skip to content

Commit

Permalink
Fixed run_command invocation in Train::Transports::SSH.wait_until_rea…
Browse files Browse the repository at this point in the history
…dy and Train::Transports::WinRM.wait_until_ready

Signed-off-by: Christian Becker <[email protected]>
  • Loading branch information
cbeckr committed Dec 10, 2017
1 parent d7cf729 commit 6472542
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion lib/train/transports/ssh_connection.rb
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,7 @@ def wait_until_ready
message: "Waiting for SSH service on #{@hostname}:#{@port}, " \
"retrying in #{delay} seconds",
)
execute(PING_COMMAND.dup)
run_command(PING_COMMAND.dup)
end

def uri
Expand Down
2 changes: 1 addition & 1 deletion lib/train/transports/winrm_connection.rb
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ def wait_until_ready
retry_limit: @max_wait_until_ready / delay,
retry_delay: delay,
)
execute(PING_COMMAND.dup)
run_command(PING_COMMAND.dup)
end

def uri
Expand Down

0 comments on commit 6472542

Please sign in to comment.