Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for Unmarshal (0.18 sec)

  1. cmd/object-handlers_test.go

    	if err != nil {
    		t.Fatalf("[%s] Failed to read NewMultipartUpload response <ERROR> %v", instanceType, err)
    	}
    	err = xml.Unmarshal(mpartRespBytes, &mpartResp)
    	if err != nil {
    		t.Fatalf("[%s] Failed to unmarshal NewMultipartUpload response <ERROR> %v", instanceType, err)
    	}
    
    	noAPIErr := APIError{}
    	missingDateHeaderErr := getAPIError(ErrMissingDateHeader)
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Sun Apr 28 17:53:50 GMT 2024
    - 160K bytes
    - Viewed (0)
  2. cmd/xl-storage.go

    			// This code-path is to preserve the legacy data.
    			xlMetaLegacy := &xlMetaV1Object{}
    			json := jsoniter.ConfigCompatibleWithStandardLibrary
    			if err := json.Unmarshal(dstBuf, xlMetaLegacy); err != nil {
    				storageLogOnceIf(ctx, err, "read-data-unmarshal-"+dstFilePath)
    				// Data appears corrupt. Drop data.
    			} else {
    				xlMetaLegacy.DataDir = legacyDataDir
    				if err = xlMeta.AddLegacy(xlMetaLegacy); err != nil {
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Sun Apr 28 17:53:50 GMT 2024
    - 84.7K bytes
    - Viewed (0)
Back to top