mirror of
https://github.com/containers/skopeo.git
synced 2025-07-10 13:13:56 +00:00
Fix a typo
This commit is contained in:
parent
2e917cf146
commit
e332d0e5d7
@ -363,7 +363,7 @@ func (kt *sbKeyType) UnmarshalJSON(data []byte) error {
|
|||||||
// newPRSignedBaseLayer is NewPRSignedBaseLayer, except it returns the private type.
|
// newPRSignedBaseLayer is NewPRSignedBaseLayer, except it returns the private type.
|
||||||
func newPRSignedBaseLayer(baseLayerIdentity PolicyReferenceMatch) (*prSignedBaseLayer, error) {
|
func newPRSignedBaseLayer(baseLayerIdentity PolicyReferenceMatch) (*prSignedBaseLayer, error) {
|
||||||
if baseLayerIdentity == nil {
|
if baseLayerIdentity == nil {
|
||||||
return nil, InvalidPolicyFormatError("baseLayerIdenitty not specified")
|
return nil, InvalidPolicyFormatError("baseLayerIdentity not specified")
|
||||||
}
|
}
|
||||||
return &prSignedBaseLayer{
|
return &prSignedBaseLayer{
|
||||||
prCommon: prCommon{Type: prTypeSignedBaseLayer},
|
prCommon: prCommon{Type: prTypeSignedBaseLayer},
|
||||||
|
Loading…
Reference in New Issue
Block a user