fix variable order

This commit is contained in:
David Newhall II 2019-06-18 23:55:04 -07:00
parent f217c5d0a8
commit dfa7654a46
1 changed files with 1 additions and 1 deletions

View File

@ -21,7 +21,7 @@ func (u *UnifiPoller) LogErrors(errs []error, prefix string) {
for _, err := range errs { for _, err := range errs {
if err != nil { if err != nil {
u.errorCount++ u.errorCount++
log.Printf("[ERROR] (%v/%v) %v: %v", prefix, err.Error(), u.errorCount, u.MaxErrors) log.Printf("[ERROR] (%v/%v) %v: %v", u.errorCount, u.MaxErrors, prefix, err.Error())
} }
} }
} }