forked from TrueCloudLab/frostfs-node
[#1418] engine: Do not use pointers as parameters
Signed-off-by: Pavel Karpy <carpawell@nspcc.ru>
This commit is contained in:
parent
6e752f36dc
commit
babd382ba5
20 changed files with 134 additions and 119 deletions
|
@ -12,7 +12,7 @@ type jobQueue struct {
|
|||
}
|
||||
|
||||
func (q *jobQueue) Select(cursor *engine.Cursor, count uint32) ([]oid.Address, *engine.Cursor, error) {
|
||||
prm := new(engine.ListWithCursorPrm)
|
||||
var prm engine.ListWithCursorPrm
|
||||
prm.WithCursor(cursor)
|
||||
prm.WithCount(count)
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue