diff options
Diffstat (limited to 'lib')
-rw-r--r-- | lib/leap_cli/config/macros.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/leap_cli/config/macros.rb b/lib/leap_cli/config/macros.rb index 30381ee..375e65b 100644 --- a/lib/leap_cli/config/macros.rb +++ b/lib/leap_cli/config/macros.rb @@ -195,7 +195,7 @@ module LeapCli; module Config nodes = nodes.merge(nodes_like_me[:services => 'mx']) # all nodes always need to communicate with mx nodes. end end - return nil unless nodes + return {} unless nodes hosts = {} my_location = @node['location'] ? @node['location']['name'] : nil nodes.each_node do |node| |