Skip to content
This repository has been archived by the owner on Dec 4, 2018. It is now read-only.

Commit

Permalink
get_network_by_type should return nil when it doesn't find network
Browse files Browse the repository at this point in the history
  • Loading branch information
jsuchome committed Nov 2, 2015
1 parent 8249c09 commit 8ee2288
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions chef/cookbooks/barclamp/libraries/barclamp_library.rb
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,7 @@ def self.get_network_by_type(node, type)
return Network.new(net, data, intf, interface_list)
end
end
return nil
end
end

Expand Down

0 comments on commit 8ee2288

Please sign in to comment.