Sha256: 7f78a7df33b640535a18667376d0508fcd33e3b013affbb05d3bc45160e65647

Contents?: true

Size: 490 Bytes

Versions: 17

Compression:

Stored size: 490 Bytes

Contents

module Vcloud
  module EdgeGateway
    class LoadBalancerConfigurationDiffer < ConfigurationDiffer

        def strip_fields_for_differ_to_ignore(config)
          deep_cloned_remote_config = Marshal.load( Marshal.dump(config) )
          if deep_cloned_remote_config.key?(:Pool)
            deep_cloned_remote_config[:Pool].each do |pool_entry|
              pool_entry.delete(:Operational)
            end
          end
          deep_cloned_remote_config
        end

    end
  end

end

Version data entries

17 entries across 17 versions & 1 rubygems

Version Path
vcloud-edge_gateway-2.1.1 lib/vcloud/edge_gateway/load_balancer_configuration_differ.rb
vcloud-edge_gateway-2.1.0 lib/vcloud/edge_gateway/load_balancer_configuration_differ.rb
vcloud-edge_gateway-1.5.2 lib/vcloud/edge_gateway/load_balancer_configuration_differ.rb
vcloud-edge_gateway-1.5.0 lib/vcloud/edge_gateway/load_balancer_configuration_differ.rb
vcloud-edge_gateway-1.4.1 lib/vcloud/edge_gateway/load_balancer_configuration_differ.rb
vcloud-edge_gateway-1.4.0 lib/vcloud/edge_gateway/load_balancer_configuration_differ.rb
vcloud-edge_gateway-1.3.0 lib/vcloud/edge_gateway/load_balancer_configuration_differ.rb
vcloud-edge_gateway-1.2.0 lib/vcloud/edge_gateway/load_balancer_configuration_differ.rb
vcloud-edge_gateway-1.1.0 lib/vcloud/edge_gateway/load_balancer_configuration_differ.rb
vcloud-edge_gateway-1.0.2 lib/vcloud/edge_gateway/load_balancer_configuration_differ.rb
vcloud-edge_gateway-1.0.1 lib/vcloud/edge_gateway/load_balancer_configuration_differ.rb
vcloud-edge_gateway-1.0.0 lib/vcloud/edge_gateway/load_balancer_configuration_differ.rb
vcloud-edge_gateway-0.5.0 lib/vcloud/edge_gateway/load_balancer_configuration_differ.rb
vcloud-edge_gateway-0.4.0 lib/vcloud/edge_gateway/load_balancer_configuration_differ.rb
vcloud-edge_gateway-0.3.0 lib/vcloud/edge_gateway/load_balancer_configuration_differ.rb
vcloud-edge_gateway-0.2.4 lib/vcloud/edge_gateway/load_balancer_configuration_differ.rb
vcloud-edge_gateway-0.2.3 lib/vcloud/edge_gateway/load_balancer_configuration_differ.rb