class Vcloud::EdgeGateway::StaticRoutingConfigurationDiffer
Public Instance Methods
strip_fields_for_differ_to_ignore(config)
click to toggle source
# File lib/vcloud/edge_gateway/static_routing_configuration_differ.rb, line 4 def strip_fields_for_differ_to_ignore(config) remote_cfg = Marshal.load(Marshal.dump(config)) if remote_cfg.key?(:StaticRoute) remote_cfg[:StaticRoute].each do |route_rule| route_rule.delete(:IsEnabled) end end remote_cfg end