Skip to content

Commit

Permalink
Merged pull request influxdata#1925 from influxdata/nc-slack-test
Browse files Browse the repository at this point in the history
fix slack service test
  • Loading branch information
nathanielc committed May 14, 2018
2 parents 70a7380 + 84106f5 commit 18e4ce7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion services/slack/service.go
Original file line number Diff line number Diff line change
Expand Up @@ -236,7 +236,7 @@ func (s *Service) Test(options interface{}) error {
if !ok {
return fmt.Errorf("unexpected options type %T", options)
}
return s.Alert("", o.Channel, o.Message, o.Username, o.IconEmoji, o.Level)
return s.Alert(o.Workspace, o.Channel, o.Message, o.Username, o.IconEmoji, o.Level)
}

func (s *Service) Alert(workspace, channel, message, username, iconEmoji string, level alert.Level) error {
Expand Down

0 comments on commit 18e4ce7

Please sign in to comment.