Remove unused policy metadata and helpers
This commit is contained in:
@@ -14,10 +14,8 @@ import (
|
||||
)
|
||||
|
||||
const (
|
||||
Key = "normalize/dnd/location-registry/identity"
|
||||
ReasonCode = "invalid_location_identity"
|
||||
policy = domainidentity.Policy
|
||||
correctionPolicy = "dnd.location_registry.validator.identity.v2"
|
||||
Key = "normalize/dnd/location-registry/identity"
|
||||
ReasonCode = "invalid_location_identity"
|
||||
)
|
||||
|
||||
type Options struct{}
|
||||
|
||||
@@ -15,7 +15,6 @@ import (
|
||||
const (
|
||||
Key = "extract/dnd/location-registry/shape"
|
||||
ReasonCode = "invalid_location_shape"
|
||||
policy = "dnd.location_registry.validator.shape.v2"
|
||||
)
|
||||
|
||||
type Options struct{}
|
||||
|
||||
@@ -17,7 +17,6 @@ import (
|
||||
const (
|
||||
Key = "extract/dnd/location-registry/source_refs"
|
||||
ReasonCode = "invalid_location_source_refs"
|
||||
policy = "dnd.location_registry.validator.source_refs.v3"
|
||||
)
|
||||
|
||||
type Options struct{}
|
||||
|
||||
@@ -16,7 +16,6 @@ import (
|
||||
const (
|
||||
Key = "extract/dnd/location-registry/source_relatedness"
|
||||
ReasonCode = "location_not_near_source"
|
||||
policy = "dnd.location_registry.validator.source_relatedness.v2"
|
||||
)
|
||||
|
||||
type Options struct{}
|
||||
|
||||
Reference in New Issue
Block a user