class KPM::PluginsManager

def validate_plugin_identifier_key_value(plugin_key, value_type, entry_value, coordinate_value)

def validate_plugin_identifier_key_value(plugin_key, value_type, entry_value, coordinate_value)
  # The json does not contain the coordinates (case when installed from install_plugin_from_fs)
  return true if entry_value.nil?
  if entry_value != coordinate_value
    @logger.warn("Entry in plugin_identifiers.json for key #{plugin_key} does not match for coordinate #{value_type}: got #{coordinate_value} instead of #{entry_value}")
    return false
  end
  true
end