diff options
Diffstat (limited to 'lib')
-rw-r--r-- | lib/leap_cli/config/macros.rb | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/lib/leap_cli/config/macros.rb b/lib/leap_cli/config/macros.rb index ad91245..1402161 100644 --- a/lib/leap_cli/config/macros.rb +++ b/lib/leap_cli/config/macros.rb @@ -178,7 +178,6 @@ module LeapCli; module Config hosts = {} my_location = @node['location'] ? @node['location']['name'] : nil nodes.each_node do |node| - next if node.name == @node.name hosts[node.name] = {'ip_address' => node.ip_address, 'domain_internal' => node.domain.internal, 'domain_full' => node.domain.full} node_location = node['location'] ? node['location']['name'] : nil if my_location == node_location |