lib/vcloud/core/config_validator.rb
def check_for_invalid_deprecations
        schema[:internals].each do |param_key,param_schema|
          deprecated_by = param_schema[:deprecated_by]
          if deprecated_by && !schema[:internals].key?(deprecated_by.to_sym)
            raise "#{param_key}: deprecated_by target '#{deprecated_by}' not found in schema"
          end
        end
      end
# Raise an exception if any `deprecated_by` params refer to params
# that don't exist in the schema.
Raise an exception if any `deprecated_by` params refer to params
that don't exist in the schema.
Raise an exception if any ` deprecated_by ` params refer to params that don ' t exist in the schema .
def check_for_invalid_deprecations
        schema[:internals].each do |param_key,param_schema|
          deprecated_by = param_schema[:deprecated_by]
          if deprecated_by && !schema[:internals].key?(deprecated_by.to_sym)
            raise "#{param_key}: deprecated_by target '#{deprecated_by}' not found in schema"
          end
        end
      end
def check_for_invalid_deprecations schema [ :internals ] . each do | param_key , param_schema | deprecated_by = param_schema [ :deprecated_by ] if deprecated_by && ! schema [ :internals ] . key? ( deprecated_by . to_sym ) raise "#{param_key}: deprecated_by target '#{deprecated_by}' not found in schema" end end end
Raise an exception if any `deprecated_by` params refer to params
that don't exist in the schema.
Raise an exception if any ` deprecated_by ` params refer to params that don ' t exist in the schema .