mirror of
https://github.com/prometheus/alertmanager
synced 2024-12-29 09:32:16 +00:00
Merge pull request #96 from miekg/invalid-channel
Slack notification: add channel
This commit is contained in:
commit
c8da387a1f
@ -340,7 +340,7 @@ func (n *notifier) sendSlackNotification(op notificationOp, config *pb.SlackConf
|
||||
return err
|
||||
}
|
||||
|
||||
log.Infof("Sent Slack notification: %v: HTTP %d: %s", incidentKey, resp.StatusCode, respBuf)
|
||||
log.Infof("Sent Slack notification (channel %s): %v: HTTP %d: %s", config.GetChannel(), incidentKey, resp.StatusCode, respBuf)
|
||||
// BUG: Check response for result of operation.
|
||||
return nil
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user