summaryrefslogtreecommitdiff
path: root/lib/chef/knife/bootstrap.rb
diff options
context:
space:
mode:
authorTim Smith <tsmith@chef.io>2019-03-11 16:27:27 -0700
committerTim Smith <tsmith@chef.io>2019-03-11 16:54:50 -0700
commitaf4ba14f511780ce55737aec2d346d0bf1afb962 (patch)
treeac5af9e99a1f87ff1d8d12551c300982ccd8fb0d /lib/chef/knife/bootstrap.rb
parent62c6ff31ea837b2b4c361e413191090fc9e4b4a7 (diff)
downloadchef-af4ba14f511780ce55737aec2d346d0bf1afb962.tar.gz
Add misc YARD commentsyard3
A pile of misc yard I added as I was reading things. Signed-off-by: Tim Smith <tsmith@chef.io>
Diffstat (limited to 'lib/chef/knife/bootstrap.rb')
-rw-r--r--lib/chef/knife/bootstrap.rb1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/chef/knife/bootstrap.rb b/lib/chef/knife/bootstrap.rb
index 19ae78cff5..b9e09a15ba 100644
--- a/lib/chef/knife/bootstrap.rb
+++ b/lib/chef/knife/bootstrap.rb
@@ -395,6 +395,7 @@ class Chef
end
end
+ # fail if the server_name is nil
def validate_name_args!
if server_name.nil?
ui.error("Must pass an FQDN or ip to bootstrap")