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

Add middleware to return the server version when requested, unless disabled #572

Merged
merged 1 commit into from
May 5, 2022

Conversation

josephschorr
Copy link
Member

No description provided.

@josephschorr josephschorr requested review from jzelinskie and a team April 28, 2022 18:54
@github-actions github-actions bot added area/CLI Affects the command line area/dependencies Affects dependencies labels Apr 28, 2022
@josephschorr josephschorr force-pushed the server-version branch 2 times, most recently from a042362 to 46195fa Compare April 28, 2022 19:04
Comment on lines 72 to 73
// Flags for misc services
util.RegisterHTTPServerFlags(cmd.Flags(), &config.DashboardAPI, "dashboard", "dashboard", ":8080", true)

Choose a reason for hiding this comment

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

why are we using two dashboard key inside a flag

Copy link
Member Author

Choose a reason for hiding this comment

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

One is the flag prefix, the other is the service name

jzelinskie
jzelinskie previously approved these changes May 3, 2022
@josephschorr josephschorr merged commit aa83664 into authzed:main May 5, 2022
@josephschorr josephschorr deleted the server-version branch May 5, 2022 15:32
@github-actions github-actions bot locked and limited conversation to collaborators May 5, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
area/CLI Affects the command line area/dependencies Affects dependencies
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants