lib/bolt/inventory/group.rb in bolt-1.34.0 vs lib/bolt/inventory/group.rb in bolt-1.35.0

- old
+ new

@@ -151,10 +151,10 @@ # Collect node names and aliases into a list used to validate that subgroups don't conflict. # Used names validate that previously used group names don't conflict with new node names/aliases. @nodes.each_key do |n| # Require nodes to be parseable as a Target. begin - Target.new(n) + Bolt::Target.new(n) rescue Bolt::ParseError => e @logger.debug(e) raise ValidationError.new("Invalid node name #{n}", @name) end