mirror of
https://github.com/c9s/bbgo.git
synced 2024-11-10 09:11:55 +00:00
fix slack arg filtering
This commit is contained in:
parent
994e2f8eee
commit
23b422f6fd
|
@ -50,7 +50,7 @@ func (t *SlackNotifier) Notify(format string, args ...interface{}) {
|
|||
}
|
||||
}
|
||||
|
||||
var nonSlackArgs = []interface{}{}
|
||||
var nonSlackArgs = args
|
||||
if slackArgsStartIdx > 0 {
|
||||
nonSlackArgs = args[:slackArgsStartIdx]
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue
Block a user