소스 검색

remove ArtifactType from Config in OCI v1.1 definition of the artifact

Signed-off-by: Guillaume Lours <[email protected]>
Guillaume Lours 1 년 전
부모
커밋
a000978980
1개의 변경된 파일0개의 추가작업 그리고 1개의 파일을 삭제
  1. 0 1
      internal/ocipush/push.go

+ 0 - 1
internal/ocipush/push.go

@@ -178,7 +178,6 @@ func generateManifest(layers []v1.Descriptor, ociCompat api.OCIVersion) ([]Pusha
 	case api.OCIVersion1_1:
 		config = v1.DescriptorEmptyJSON
 		artifactType = ComposeProjectArtifactType
-		config.ArtifactType = artifactType
 		// N.B. the descriptor has the data embedded in it
 		toPush = append(toPush, Pushable{Descriptor: config, Data: make([]byte, len(config.Data))})
 	default: