-
Notifications
You must be signed in to change notification settings - Fork 1.7k
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
Scorecard - add proxy port configuration setting #2634
Conversation
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.
/lgtm
} | ||
port = i | ||
} | ||
log.Infof("Listening on port %d.", port) |
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.
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
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.
/lgtm
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.