Skip to content

Commit

Permalink
fixing
Browse files Browse the repository at this point in the history
  • Loading branch information
Claire.Nicholas authored and Claire.Nicholas committed Nov 28, 2023
1 parent b6f543e commit 03874b5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cmd/vela-slack/plugin.go
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 03874b5

Please sign in to comment.