summaryrefslogtreecommitdiff
path: root/lib/chef/knife/ssh.rb
diff options
context:
space:
mode:
authorLamont Granquist <lamont@scriptkiddie.org>2016-02-12 09:55:42 -0800
committerLamont Granquist <lamont@scriptkiddie.org>2016-02-12 09:55:42 -0800
commitb48b150cc50dbd54a719ea54a965de53d4531170 (patch)
treeca26e5887c259d6c2c1d6b9fc82247fefa8fe8c0 /lib/chef/knife/ssh.rb
parent03eadde04eb219bfa8abe52d312261a5142e7266 (diff)
downloadchef-b48b150cc50dbd54a719ea54a965de53d4531170.tar.gz
convert MultilineOperationIndentation style to "indented"
this looks nicer.
Diffstat (limited to 'lib/chef/knife/ssh.rb')
-rw-r--r--lib/chef/knife/ssh.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/chef/knife/ssh.rb b/lib/chef/knife/ssh.rb
index a1e54f784d..4184171a4e 100644
--- a/lib/chef/knife/ssh.rb
+++ b/lib/chef/knife/ssh.rb
@@ -186,8 +186,8 @@ class Chef
Chef::Log.debug("Using node attribute #{Chef::Config[:knife][:ssh_attribute]}")
attribute = Chef::Config[:knife][:ssh_attribute]
elsif node[:cloud] &&
- node[:cloud][:public_hostname] &&
- !node[:cloud][:public_hostname].empty?
+ node[:cloud][:public_hostname] &&
+ !node[:cloud][:public_hostname].empty?
Chef::Log.debug("Using node attribute 'cloud[:public_hostname]' automatically as the ssh target")
attribute = "cloud.public_hostname"
else