Skip to content

Commit

Permalink
Do not delete the attribute if zone is empty
Browse files Browse the repository at this point in the history
  • Loading branch information
teclator committed Feb 1, 2019
1 parent b6638bd commit 423ba57
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion library/network/src/modules/NetworkInterfaces.rb
Expand Up @@ -865,7 +865,6 @@ def Write(devregex)
# TODO : delete PREFIXLEN from config file
end
end
devmap["ZONE"] = nil if devmap["ZONE"] && devmap["ZONE"].empty?
# write all keys to config
Builtins.maplist(
Convert.convert(
Expand Down

0 comments on commit 423ba57

Please sign in to comment.