chore: unnecessary use of fmt.Sprintf (#2352)
diff --git a/config/reference_config.go b/config/reference_config.go
index 9eebae6..06797a8 100644
--- a/config/reference_config.go
+++ b/config/reference_config.go
@@ -143,7 +143,7 @@
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)