Skip to content

Commit

Permalink
chore: unnecessary use of fmt.Sprintf (#2352)
Browse files Browse the repository at this point in the history
  • Loading branch information
testwill committed Jul 9, 2023
1 parent f6fdbfd commit f831ea5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion config/reference_config.go
Original file line number Diff line number Diff line change
Expand Up @@ -143,7 +143,7 @@ func updateOrCreateMeshURL(rc *ReferenceConfig) {
panic(fmt.Sprintf("Mesh mode enabled, Triple protocol expected but %v protocol found!", rc.Protocol))
}
if rc.ProvidedBy == "" {
panic(fmt.Sprintf("Mesh mode enabled, provided-by should not be empty!"))
panic("Mesh mode enabled, provided-by should not be empty!")
}

podNamespace := getEnv(constant.PodNamespaceEnvKey, constant.DefaultNamespace)
Expand Down

0 comments on commit f831ea5

Please sign in to comment.