From 03874b5874f34b2cb320f7a3052c9e963fc5aa57 Mon Sep 17 00:00:00 2001 From: "Claire.Nicholas" Date: Tue, 28 Nov 2023 09:53:01 -0600 Subject: [PATCH] fixing --- cmd/vela-slack/plugin.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cmd/vela-slack/plugin.go b/cmd/vela-slack/plugin.go index 92ce6a6..c4a9ba6 100644 --- a/cmd/vela-slack/plugin.go +++ b/cmd/vela-slack/plugin.go @@ -204,7 +204,7 @@ func (p *Plugin) Validate() error { return nil } -// getRemoteAttachment function converts bytes into string and replaces variables +// replaceString function converts bytes into string and replaces variables // such as {{ .BuildCreated }} with a correct values before returning it back into bytes again. func replaceString(bytes []byte, p *Plugin) []byte { bStr := string(bytes)