Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for toObjectErr (0.06 sec)

  1. cmd/data-usage.go

    	if err != nil {
    		buf, err = readConfig(ctx, objAPI, dataUsageObjNamePath+".bkp")
    		if err != nil {
    			if errors.Is(err, errConfigNotFound) {
    				return DataUsageInfo{}, nil
    			}
    			return DataUsageInfo{}, toObjectErr(err, minioMetaBucket, dataUsageObjNamePath)
    		}
    	}
    
    	var dataUsageInfo DataUsageInfo
    	json := jsoniter.ConfigCompatibleWithStandardLibrary
    	if err = json.Unmarshal(buf, &dataUsageInfo); err != nil {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu May 09 00:51:34 UTC 2024
    - 5.6K bytes
    - Viewed (0)
Back to top