storj/satellite/metainfo/validation_norace.go
Michal Niewrzal aa47e70f03 satellite/metainfo: use metabase.SegmentKey with metainfo.Service
Instead of using string or []byte we will be using dedicated type
SegmentKey.

Change-Id: I6ca8039f0741f6f9837c69a6d070228ed10f2220
2020-09-03 15:11:32 +00:00

18 lines
395 B
Go

// Copyright (C) 2020 Storj Labs, Inc.
// See LICENSE for copying information.
// +build !race
package metainfo
import (
"storj.io/common/pb"
"storj.io/storj/satellite/metainfo/metabase"
)
// sanityCheckPointer implements sanity checking test data,
// we don't need this in production code.
func sanityCheckPointer(key metabase.SegmentKey, pointer *pb.Pointer) (err error) {
return nil
}