Skip to content
Snippets Groups Projects

Ensure GithubImport::Client does not crash when the 'verify_ssl' config is not present

Merged Rémy Coutable requested to merge fix/14343 into master

This fixes gitlab-org/gitlab-ce#14343 and !260 (merged) when verify_ssl is not present in the GitHub omniauth settings in gitlab.yml.

Settingslogic allow to access optional settings through the Hash notation: if the key is not present, it returns nil. In the present case this will let the Octokit::Client object use whatever default value it wants for the ssl option.

/cc @dbalexandre

Merge request reports

Loading
Loading

Activity

Filter activity
  • Approvals
  • Assignees & reviewers
  • Comments (from bots)
  • Comments (from users)
  • Commits & branches
  • Edits
  • Labels
  • Lock status
  • Mentions
  • Merge request status
  • Tracking
Please register or sign in to reply
Loading