forked from TrueCloudLab/frostfs-node
[#766] Fix makezero linter error
Signed-off-by: Alex Vanin <alexey@nspcc.ru>
This commit is contained in:
parent
b2facf5055
commit
30738549ef
1 changed files with 1 additions and 1 deletions
|
@ -102,7 +102,7 @@ func (e *StorageEngine) List(limit uint64) (*SelectRes, error) {
|
||||||
defer elapsed(e.metrics.AddListObjectsDuration)()
|
defer elapsed(e.metrics.AddListObjectsDuration)()
|
||||||
}
|
}
|
||||||
|
|
||||||
addrList := make([]*object.Address, limit)
|
addrList := make([]*object.Address, 0, limit)
|
||||||
uniqueMap := make(map[string]struct{})
|
uniqueMap := make(map[string]struct{})
|
||||||
ln := uint64(0)
|
ln := uint64(0)
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue