Skip to content

fix non-constant format string in call to fmt.Errorf #474

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

Merged
merged 1 commit into from
Apr 14, 2025
Merged

Conversation

ameowlia
Copy link
Member

Summary

Fix this error

# code.cloudfoundry.org/gorouter/config
gorouter/config/config.go:626:22: non-constant format string in call to fmt.Errorf
gorouter/config/config.go:636:22: non-constant format string in call to fmt.Errorf
gorouter/config/config.go:646:22: non-constant format string in call to fmt.Errorf
gorouter/config/config.go:663:22: non-constant format string in call to fmt.Errorf
gorouter/config/config.go:743:23: non-constant format string in call to fmt.Errorf
gorouter/config/config.go:757:22: non-constant format string in call to fmt.Errorf
gorouter/config/config.go:768:21: non-constant format string in call to fmt.Errorf
gorouter/config/config.go:781:21: non-constant format string in call to fmt.Errorf
gorouter/config/config.go:787:21: non-constant format string in call to fmt.Errorf
gorouter/config/config.go:800:21: non-constant format string in call to fmt.Errorf
gorouter/config/config.go:813:21: non-constant format string in call to fmt.Errorf
gorouter/config/config.go:830:21: non-constant format string in call to fmt.Errorf
gorouter/config/config.go:951:27: non-constant format string in call to fmt.Errorf

Backward Compatibility

Breaking Change? No

@ameowlia ameowlia requested a review from a team as a code owner April 14, 2025 17:53
@geofffranks geofffranks merged commit 85f72a0 into main Apr 14, 2025
1 check passed
@geofffranks geofffranks deleted the go-fmt-fix branch April 14, 2025 17:54
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