diff options
author | elijah <elijah@riseup.net> | 2015-07-10 18:06:04 -0700 |
---|---|---|
committer | elijah <elijah@riseup.net> | 2015-07-10 18:06:04 -0700 |
commit | 46f7df1605595467773902d612eaf1dc151b0583 (patch) | |
tree | fa6dce9112de9ad029161ec643ea96da30e46d0a /lib | |
parent | ab406d6f9a8487b2ac837adc3eeae01788fb2a93 (diff) |
give correct hint when node must be resolved. closes #7114
Diffstat (limited to 'lib')
-rw-r--r-- | lib/leap_cli/remote/leap_plugin.rb | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/leap_cli/remote/leap_plugin.rb b/lib/leap_cli/remote/leap_plugin.rb index 3e33a61..0106d85 100644 --- a/lib/leap_cli/remote/leap_plugin.rb +++ b/lib/leap_cli/remote/leap_plugin.rb @@ -36,7 +36,8 @@ module LeapCli; module Remote; module LeapPlugin rescue Capistrano::CommandError => exc LeapCli::Util.bail! do exc.hosts.each do |host| - LeapCli::Util.log :error, "running deploy: node not initialized. Run 'leap node init #{host}'", :host => host + node = host.to_s.split('.').first + LeapCli::Util.log :error, "running deploy: node not initialized. Run 'leap node init #{node}'", :host => host end end end |