diff --git a/api/v2/descriptors.go b/api/v2/descriptors.go index e98ed4ad..d7d3eed1 100644 --- a/api/v2/descriptors.go +++ b/api/v2/descriptors.go @@ -1263,7 +1263,6 @@ var routeDescriptors = []RouteDescriptor{ Description: "An error was encountered processing the delete. The client may ignore this error.", StatusCode: http.StatusBadRequest, ErrorCodes: []ErrorCode{ - ErrorCodeDigestInvalid, ErrorCodeNameInvalid, ErrorCodeBlobUploadInvalid, }, diff --git a/doc/SPEC.md b/doc/SPEC.md index b82d9d6b..3fc3e372 100644 --- a/doc/SPEC.md +++ b/doc/SPEC.md @@ -2539,7 +2539,6 @@ The error codes that may be included in the response body are enumerated below: |Code|Message|Description| -------|----|------|------------ -| `DIGEST_INVALID` | provided digest did not match uploaded content | When a blob is uploaded, the registry will check that the content matches the digest provided by the client. The error may include a detail structure with the key "digest", including the invalid digest string. This error may also be returned when a manifest includes an invalid layer digest. | | `NAME_INVALID` | manifest name did not match URI | During a manifest upload, if the name in the manifest does not match the uri name, this error will be returned. | | `BLOB_UPLOAD_INVALID` | blob upload invalid | The blob upload encountered an error and can no longer proceed. |