Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for errBytes (0.07 sec)

  1. cmd/object-handlers_test.go

    		if test.expectedErr != noAPIErr {
    			errBytes, err := io.ReadAll(rec.Result().Body)
    			if err != nil {
    				t.Fatalf("Test %d %s Failed to read error response from upload part request %s/%s: <ERROR> %v",
    					i+1, instanceType, bucketName, testObject, err)
    			}
    			var errXML APIErrorResponse
    			err = xml.Unmarshal(errBytes, &errXML)
    			if err != nil {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Sep 12 20:10:44 UTC 2024
    - 163.2K bytes
    - Viewed (0)
Back to top