From 1b60763d5fb938272795669f95c54996e751b9e6 Mon Sep 17 00:00:00 2001 From: guangwu Date: Tue, 24 Oct 2023 19:37:22 +0800 Subject: [PATCH] chore: unnecessary use of fmt.Sprintf (#14328) --- examples/compose/vtcompose/vtcompose.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/examples/compose/vtcompose/vtcompose.go b/examples/compose/vtcompose/vtcompose.go index cb089e17dc7..c6df1d72e48 100644 --- a/examples/compose/vtcompose/vtcompose.go +++ b/examples/compose/vtcompose/vtcompose.go @@ -558,7 +558,7 @@ func generateExternalPrimary( if dbInfo.dbName != "" { externalDb = "1" } else { - return fmt.Sprintf(``) + return "" } return fmt.Sprintf(`