Merge "Fix the undefined method 'chomp' for nil:NilClass error seen with ovs 2.10" into stable/rocky
This commit is contained in:
@@ -39,6 +39,9 @@ Puppet::Type.type(:vs_config).provide(:ovs) do
|
||||
configs = []
|
||||
open_vs.each do |line|
|
||||
key, value = line.split(' : ').map(&:strip)
|
||||
if value.nil?
|
||||
next
|
||||
end
|
||||
parsed_value = parse_column_value(value)
|
||||
if parsed_value[:type] == "hash"
|
||||
parsed_value[:value].each do |k, v|
|
||||
|
||||
Reference in New Issue
Block a user