Sha256: cc3cbe4ad2b403471ba57e288885a43a1b6b4941483bf2df480825f68afe0266
Contents?: true
Size: 421 Bytes
Versions: 4
Compression:
Stored size: 421 Bytes
Contents
module Vcloud module EdgeGateway class StaticRoutingConfigurationDiffer < ConfigurationDiffer 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 end end end
Version data entries
4 entries across 4 versions & 1 rubygems