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 module versions to /version info #4593

Merged
merged 1 commit into from
Jan 25, 2022
Merged

Add module versions to /version info #4593

merged 1 commit into from
Jan 25, 2022

Conversation

echlebek
Copy link
Contributor

What is this change?

This commit adds module version info to the /version endpoint. Due to an
open Go bug, the commit is not testable yet. A unit test has been added
anyways, with a canary that should die when Go fixes the bug on their
end.

Why is this change necessary?

Closes #4590

Does your change need a Changelog entry?

Yes

Were there any complications while making this change?

While the change does work, as validated by starting up sensu-backend and querying the /version endpoint, it is not testable with go test yet, due to a Go bug. See golang/go#33976

How did you verify this change?

Manually.

Is this change a patch?

No.

This commit adds module version info to the /version endpoint. Due to an
open Go bug, the commit is not testable yet. A unit test has been added
anyways, with a canary that should die when Go fixes the bug on their
end.

Signed-off-by: Eric Chlebek <eric@sensu.io>
@echlebek echlebek merged commit 48567bc into main Jan 25, 2022
@echlebek echlebek deleted the add-module-versions branch January 25, 2022 20:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

List supported API versions with other version information
2 participants