Sha256: 57ee60ad20d0a7f31f4adca47e3c5232bb4654a2db4b9589a5751ad06c6e3e21
Contents?: true
Size: 471 Bytes
Versions: 17
Compression:
Stored size: 471 Bytes
Contents
module Vcloud module EdgeGateway class FirewallConfigurationDiffer < ConfigurationDiffer def strip_fields_for_differ_to_ignore(config) deep_cloned_config = Marshal.load( Marshal.dump(config) ) if deep_cloned_config.key?(:FirewallRule) deep_cloned_config[:FirewallRule].each do |firewall_rule| firewall_rule.delete(:Id) end end deep_cloned_config end end end end
Version data entries
17 entries across 17 versions & 1 rubygems