Search Options

Results per page
Sort
Preferred Languages
Advance

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

  1. cmd/warm-backend-s3.go

    			return nil, s3.ToObjectError(err, object)
    		}
    	}
    	c := &minio.Core{Client: s3.client}
    	// Important to use core primitives here to pass range get options as is.
    	r, _, _, err := c.GetObject(ctx, s3.Bucket, s3.getDest(object), gopts)
    	if err != nil {
    		return nil, s3.ToObjectError(err, object)
    	}
    	return r, nil
    }
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Oct 31 22:10:24 UTC 2024
    - 5.7K bytes
    - Viewed (0)
  2. cmd/warm-backend-minio.go

    		StorageClass:         m.StorageClass,
    		PartSize:             uint64(partSize),
    		DisableContentSha256: true,
    		UserMetadata:         meta,
    	})
    	return remoteVersionID(res.VersionID), m.ToObjectError(err, object)
    }
    
    func (m *warmBackendMinIO) Put(ctx context.Context, object string, r io.Reader, length int64) (remoteVersionID, error) {
    	return m.PutWithMeta(ctx, object, r, length, map[string]string{})
    }
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Oct 31 22:10:24 UTC 2024
    - 4K bytes
    - Viewed (0)
Back to top