Skip to content
This repository has been archived by the owner on Nov 24, 2021. It is now read-only.

Fixes #15781 - add ssl_cert_file to env check #400

Merged
merged 1 commit into from
Sep 22, 2016

Conversation

jlsherrill
Copy link
Member

No description provided.

Copy link
Member

@ekohl ekohl left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think this is a nice improvement, just a minor coding style nit.


variables = %w(http_proxy https_proxy ssl_cert_file)

if variables.map{ |variable| ENV[variable] }.compact.any?
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

rubocop wants a space between map and {

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

updated


if variables.map{ |variable| ENV[variable] }.compact.any?
$stderr.puts "Please unset the following environment variables before running the installer: #{variables.join(', ')}"
exit 1
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

And trailing whitespace

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

updated!

@jlsherrill
Copy link
Member Author

Thanks for the review @ekohl !

@jlsherrill jlsherrill merged commit 9b9daf3 into Katello:master Sep 22, 2016
@jlsherrill jlsherrill deleted the 15781 branch September 22, 2016 13:08
johnpmitsch pushed a commit to johnpmitsch/katello-installer that referenced this pull request Oct 4, 2016
johnpmitsch pushed a commit to johnpmitsch/katello-installer that referenced this pull request Oct 4, 2016
zjhuntin added a commit to zjhuntin/katello-installer that referenced this pull request Oct 30, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants