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

Fix log messages for Zone K8s version controller #135

Merged
merged 1 commit into from
Nov 15, 2024

Conversation

simu
Copy link
Member

@simu simu commented Nov 15, 2024

Summary

We can't use the default formatting for version.Info when we only set a limited amount of fields. Instead we introduce a thin wrapper for the fmt.Sprintf() which we already used to set the version on the control-api zone object and use that wrapper for the log messages.

Checklist

  • Categorize the PR by setting a good title and adding one of the labels:
    bug, enhancement, documentation, change, breaking, dependency
    as they show up in the changelog

We can't use the default formatting for `version.Info` when we only set
a limited amount of fields. Instead we introduce a thin wrapper for the
`fmt.Sprintf()` which we already used to set the version on the
control-api zone object and use that wrapper for the log messages.
@simu simu added the bug Something isn't working label Nov 15, 2024
@simu simu requested a review from a team as a code owner November 15, 2024 10:19
@simu simu merged commit 29e04f4 into master Nov 15, 2024
4 checks passed
@simu simu deleted the fix/zone-k8s-version-controller-logs branch November 15, 2024 13:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants