From 76e05785857aa1eed7821077cdd6276a226687f7 Mon Sep 17 00:00:00 2001 From: Igor Eulalio Date: Mon, 25 Nov 2024 11:34:11 -0300 Subject: [PATCH] fix: add nolint for perfsec Signed-off-by: Igor Eulalio --- examples/dice/uninstrumented/rolldice.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/examples/dice/uninstrumented/rolldice.go b/examples/dice/uninstrumented/rolldice.go index 414cc7dbcb0..e69f7e88ad8 100644 --- a/examples/dice/uninstrumented/rolldice.go +++ b/examples/dice/uninstrumented/rolldice.go @@ -17,7 +17,7 @@ func rolldice(w http.ResponseWriter, r *http.Request) { var msg string if player := r.PathValue("player"); player != "" { - msg = fmt.Sprintf("%s is rolling the dice", player) + msg = fmt.Sprintf("%s is rolling the dice", player) //nolint:perfsprint } else { msg = "Anonymous player is rolling the dice" }