Project

Profile

Help

Issue #5284

closed

:verify is defined twice in ruby bindings

Added by jsherril@redhat.com over 3 years ago. Updated over 2 years ago.

Status:
CLOSED - CURRENTRELEASE
Priority:
Normal
Assignee:
-
Category:
-
Sprint/Milestone:
Start date:
Due date:
Estimated time:
Severity:
2. Medium
Version:
Platform Release:
OS:
Triaged:
Yes
Groomed:
No
Sprint Candidate:
No
Tags:
Katello
Sprint:
Sprint 57
Quarter:

Description

When loading my app, i see:

/home/vagrant/.gem/ruby/gems/pulpcore_client-3.0.0rc5.dev01565800523/lib/pulpcore_client/api_client.rb:51: warning: key :verify is duplicated and overwritten on line 52
/home/vagrant/.gem/ruby/gems/pulp_file_client-0.1.0b2.dev01565807323/lib/pulp_file_client/api_client.rb:51: warning: key :verify is duplicated and overwritten on line 52
/home/vagrant/.gem/ruby/gems/pulp_ansible_client-0.2.0b3.dev01565792570/lib/pulp_ansible_client/api_client.rb:51: warning: key :verify is duplicated and overwritten on line 52
/home/vagrant/.gem/ruby/gems/pulp_docker_client-4.0.0b6.dev01565789008/lib/pulp_docker_client/api_client.rb:51: warning: key :verify is duplicated and overwritten on line 52

looking at the code its referencing i see:

      ssl_options = {
        :ca_file => @config.ssl_ca_file,
        :verify => @config.ssl_verify,
        :verify => @config.ssl_verify_mode,
        :client_cert => @config.ssl_client_cert,
        :client_key => @config.ssl_client_key
      }

Notice :verify is mentioned twice.

Also available in: Atom PDF