[#766] Fix makezero linter error

Signed-off-by: Alex Vanin <alexey@nspcc.ru>
remotes/fyrchik/meta-pebble
Alex Vanin 2021-08-24 13:51:00 +03:00 committed by Alex Vanin
parent b2facf5055
commit 30738549ef
1 changed files with 1 additions and 1 deletions

View File

@ -102,7 +102,7 @@ func (e *StorageEngine) List(limit uint64) (*SelectRes, error) {
defer elapsed(e.metrics.AddListObjectsDuration)()
}
addrList := make([]*object.Address, limit)
addrList := make([]*object.Address, 0, limit)
uniqueMap := make(map[string]struct{})
ln := uint64(0)