Browse Source

#2045 have fallback but empty value

tags/v1.21.12.1
Unknwon 10 years ago
parent
commit
76d4b9288b
1 changed files with 0 additions and 3 deletions
  1. +0
    -3
      models/webhook_slack.go

+ 0
- 3
models/webhook_slack.go View File

@@ -115,9 +115,6 @@ func getSlackPushPayload(p *api.PushPayload, slack *SlackMeta) (*SlackPayload, e
slackAttachments := []SlackAttachment{{ slackAttachments := []SlackAttachment{{
Color: slack.Color, Color: slack.Color,
Text: attachmentText, Text: attachmentText,
}, {
Fallback: fmt.Sprintf("%s pushed %s to %s/%s: %s",
p.Pusher, commitDesc, p.Repo.Name, branchName, p.CompareUrl),
}} }}


return &SlackPayload{ return &SlackPayload{


Loading…
Cancel
Save