forked from TrueCloudLab/frostfs-node
[#1239] innerring: Use pointer-less slices for object IDs
Signed-off-by: Evgenii Stratonikov <evgeniy@nspcc.ru>
This commit is contained in:
parent
6ec104d686
commit
2ad8016d75
5 changed files with 12 additions and 13 deletions
|
@ -107,8 +107,8 @@ func (ap *Processor) processStartAudit(epoch uint64) {
|
|||
}
|
||||
}
|
||||
|
||||
func (ap *Processor) findStorageGroups(cid *cid.ID, shuffled netmap.Nodes) []*oidSDK.ID {
|
||||
var sg []*oidSDK.ID
|
||||
func (ap *Processor) findStorageGroups(cid *cid.ID, shuffled netmap.Nodes) []oidSDK.ID {
|
||||
var sg []oidSDK.ID
|
||||
|
||||
ln := len(shuffled)
|
||||
|
||||
|
|
|
@ -89,11 +89,11 @@ func (x SearchSGPrm) NodeInfo() client.NodeInfo {
|
|||
|
||||
// SearchSGDst groups target values which Processor expects from SG searching to process.
|
||||
type SearchSGDst struct {
|
||||
ids []*oidSDK.ID
|
||||
ids []oidSDK.ID
|
||||
}
|
||||
|
||||
// WriteIDList writes list of identifiers of storage group objects stored in the container.
|
||||
func (x *SearchSGDst) WriteIDList(ids []*oidSDK.ID) {
|
||||
func (x *SearchSGDst) WriteIDList(ids []oidSDK.ID) {
|
||||
x.ids = ids
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue