Project

General

Profile

Revision 14da342c

Added by Sean O'Keeffe almost 5 years ago

Deprecate oauth

View differences:

lib/runcible/base.rb
43 43
      client_options[:verify_ssl] = clone_config[:verify_ssl] unless clone_config[:verify_ssl].nil?
44 44

  
45 45
      if clone_config[:oauth]
46
        self.logger.warn('[DEPRECATION] Pulp oauth is deprecated.  Please use cert_auth instead.')
46 47
        headers = add_oauth_header(method, path, headers)
47 48
        headers['pulp-user'] = clone_config[:user]
48 49
      elsif clone_config[:cert_auth]

Also available in: Unified diff