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 non-constant log strings #4563

Merged
merged 1 commit into from
Jan 22, 2025
Merged

Fix non-constant log strings #4563

merged 1 commit into from
Jan 22, 2025

Conversation

bcl
Copy link
Contributor

@bcl bcl commented Jan 17, 2025

Newer versions of the go compiler (1.24 in this case) fail when running go test during a mock rebuild of the srpm created by 'make srpm' on Fedora 42.

Even though we currently don't support go1.24, fix these so they don't become an issue when we do.

This pull request includes:

  • adequate testing for the new functionality or fixed issue
  • adequate documentation informing people about the change such as
    • submit a PR for the READMEs listed here
    • submit a PR for the osbuild.org website repository if this PR changed any behavior not covered by the automatically updated READMEs

Newer versions of the go compiler (1.24 in this case) fail when running
go test during a mock rebuild of the srpm created by 'make srpm' on
Fedora 42.

Even though we currently don't support go1.24, fix these so they don't
become an issue when we do.
@bcl
Copy link
Contributor Author

bcl commented Jan 20, 2025

Ah, ha! Caused by this 1.24 change - https://tip.golang.org/doc/go1.24#vet

@bcl bcl requested a review from mvo5 January 20, 2025 17:53
Copy link
Contributor

@mvo5 mvo5 left a comment

Choose a reason for hiding this comment

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

Nice catch, thank you.

@bcl bcl merged commit 73101d2 into osbuild:main Jan 22, 2025
42 of 46 checks passed
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.

2 participants