[#766] Fix makezero linter error

Signed-off-by: Alex Vanin <alexey@nspcc.ru>
This commit is contained in:
Alex Vanin 2021-08-24 13:51:00 +03:00 committed by Alex Vanin
parent b2facf5055
commit 30738549ef

View file

@ -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)