Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix executeGHEConsole() / ReportOrgOwners for Hubble service #40

Merged
merged 1 commit into from
Nov 20, 2017

Conversation

larsxschneider
Copy link
Collaborator

The executeGHEConsole() function (and consequently the ReportOrgOwners)
was broken if Hubble is configures as service that runs on the GitHub
Enterprise appliance. Fix it.

if not stdin:
# A script is either a path to a file or a list of strings
# with bash commands. Both are executed by passing the script
# to stdin to `bash -s --`. This method only works if we habve
Copy link
Contributor

Choose a reason for hiding this comment

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

typo: “habve”

except:
command = script
if not stdin:
# A script is either a path to a file or a list of strings
Copy link
Contributor

Choose a reason for hiding this comment

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

Maybe we should put this explanation in the comment above executeScript so that this is immediately clear when reading the function? And I wouldn’t mind having this information here as well.

The executeGHEConsole() function (and consequently the ReportOrgOwners)
was broken if Hubble is configures as service that runs on the GitHub
Enterprise appliance. Fix it.
Copy link
Contributor

@pluehne pluehne left a comment

Choose a reason for hiding this comment

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

This looks good to me now 😃!

@larsxschneider larsxschneider merged commit b9f7b07 into master Nov 20, 2017
@larsxschneider larsxschneider deleted the fix/ghe-console branch November 20, 2017 10:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants