-
Notifications
You must be signed in to change notification settings - Fork 47
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
Conversation
5dddbad
to
3685c8f
Compare
3685c8f
to
8aaf3e6
Compare
updater/reports/Report.py
Outdated
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 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
typo: “habve”
updater/reports/Report.py
Outdated
except: | ||
command = script | ||
if not stdin: | ||
# A script is either a path to a file or a list of strings |
There was a problem hiding this comment.
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.
8aaf3e6
to
1442407
Compare
There was a problem hiding this 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 😃!
The executeGHEConsole() function (and consequently the ReportOrgOwners)
was broken if Hubble is configures as service that runs on the GitHub
Enterprise appliance. Fix it.