fix slack arg filtering

This commit is contained in:
c9s 2020-08-03 19:41:33 +08:00
parent 994e2f8eee
commit 23b422f6fd

View File

@ -50,7 +50,7 @@ func (t *SlackNotifier) Notify(format string, args ...interface{}) {
}
}
var nonSlackArgs = []interface{}{}
var nonSlackArgs = args
if slackArgsStartIdx > 0 {
nonSlackArgs = args[:slackArgsStartIdx]
}