From dca81e6bf3d2dbe3fd84b949fb1d400f1fc3074e Mon Sep 17 00:00:00 2001 From: guoguangwu Date: Mon, 23 Oct 2023 15:45:54 +0800 Subject: [PATCH] chore: unnecessary use of fmt.Sprintf Signed-off-by: guoguangwu Signed-off-by: Florent Poinsard --- 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(`