mirror of
https://github.com/hibiken/asynq.git
synced 2025-09-18 12:54:59 +08:00
fix: resolve go vet lint
This commit is contained in:
@@ -353,7 +353,7 @@ func (r *RDB) listZSetEntries(key string, pgn Pagination) ([]base.Z, error) {
|
||||
if err != nil {
|
||||
continue // bad data, ignore and continue
|
||||
}
|
||||
res = append(res, base.Z{msg, int64(z.Score)})
|
||||
res = append(res, base.Z{Message: msg, Score: int64(z.Score)})
|
||||
}
|
||||
return res, nil
|
||||
}
|
||||
|
Reference in New Issue
Block a user