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

Scorecard - add proxy port configuration setting #2634

Merged
merged 5 commits into from
Mar 11, 2020
Merged

Scorecard - add proxy port configuration setting #2634

merged 5 commits into from
Mar 11, 2020

Conversation

jmccormick2001
Copy link
Contributor

Description of the change:
this change adds a proxy-port configuration setting for the scorecard

Motivation for the change:

scorecard users can use a port other than the default, 8889, if they set the proxy-port configuration setting for the scorecard.

@openshift-ci-robot openshift-ci-robot added the size/M Denotes a PR that changes 30-99 lines, ignoring generated files. label Mar 9, 2020
@jmccormick2001 jmccormick2001 requested review from jmrodri and camilamacedo86 and removed request for joelanford March 9, 2020 22:03
Copy link
Member

@fabianvf fabianvf left a comment

Choose a reason for hiding this comment

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

/lgtm

}
port = i
}
log.Infof("Listening on port %d.", port)
Copy link
Member

Choose a reason for hiding this comment

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

Super minor nit and definitely non-blocking, but to me this implies that the server is up already, when in reality it gets launched further below. There's probably not much possibility of hanging or something between here and there, but maybe we should move this log message to below where the proxy is actually started, or reword it to make it clear that we will attempt to launch the proxy on this port later

@openshift-ci-robot openshift-ci-robot added the lgtm Indicates that a PR is ready to be merged. label Mar 10, 2020
Copy link
Member

@jmrodri jmrodri left a comment

Choose a reason for hiding this comment

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

/lgtm

@jmccormick2001 jmccormick2001 merged commit b3abe6e into operator-framework:master Mar 11, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
lgtm Indicates that a PR is ready to be merged. size/M Denotes a PR that changes 30-99 lines, ignoring generated files.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants