Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for invalidPort (0.17 sec)

  1. cmd/erasure-multipart.go

    		partID := parts[i].PartNumber
    		if part.Error != "" || !part.Exists {
    			return oi, InvalidPart{
    				PartNumber: partID,
    			}
    		}
    
    		var pfi FileInfo
    		_, err := pfi.UnmarshalMsg(part.Data)
    		if err != nil {
    			// Maybe crash or similar.
    			bugLogIf(ctx, err)
    			return oi, InvalidPart{
    				PartNumber: partID,
    			}
    		}
    
    		partI := pfi.Parts[0]
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Thu Jun 13 06:56:12 UTC 2024
    - 44.8K bytes
    - Viewed (0)
  2. cmd/api-errors.go

    		Code:           "MethodNotAllowed",
    		Description:    "The specified method is not allowed against this resource.",
    		HTTPStatusCode: http.StatusMethodNotAllowed,
    	},
    	ErrInvalidPart: {
    		Code:           "InvalidPart",
    		Description:    "One or more of the specified parts could not be found.  The part may not have been uploaded, or the specified entity tag may not match the part's entity tag.",
    		HTTPStatusCode: http.StatusBadRequest,
    	},
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Thu Jun 13 22:26:38 UTC 2024
    - 92.1K bytes
    - Viewed (0)
  3. cmd/object-handlers_test.go

    			parts:     inputParts[0].parts,
    			accessKey: credentials.AccessKey,
    			secretKey: credentials.SecretKey,
    
    			expectedContent: encodeResponse(getAPIErrorResponse(ctx,
    				toAPIError(ctx, InvalidPart{}),
    				getGetObjectURL("", bucketName, objectName), "", "")),
    			expectedRespStatus: http.StatusBadRequest,
    		},
    		// Test case - 2.
    		// No parts specified in CompletePart{}.
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Mon Jun 10 15:50:49 UTC 2024
    - 161.9K bytes
    - Viewed (0)
Back to top