mirror of
https://github.com/hibiken/asynq.git
synced 2024-12-26 07:42:17 +08:00
chore: unnecessary use of fmt.Sprintf
This commit is contained in:
parent
fde294be32
commit
e4b8663154
@ -343,7 +343,7 @@ func (r *RDB) memoryUsage(qname string) (int64, error) {
|
||||
}
|
||||
usg, err := cast.ToInt64E(res)
|
||||
if err != nil {
|
||||
return 0, errors.E(op, errors.Internal, fmt.Sprintf("could not cast script return value to int64"))
|
||||
return 0, errors.E(op, errors.Internal, "could not cast script return value to int64")
|
||||
}
|
||||
return usg, nil
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user