revid: fixed destination slice bug

This commit is contained in:
saxon 2019-02-17 13:11:17 +10:30
parent ca0a008c59
commit f1625d27f5
1 changed files with 1 additions and 1 deletions

View File

@ -213,7 +213,7 @@ func (r *Revid) reset(config Config) error {
}
}
r.destination = make([]loadSender, len(r.config.Outputs))
r.destination = make([]loadSender, 0, len(r.config.Outputs))
for _, typ := range r.config.Outputs {
switch typ {
case File: