Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for isErrMethodNotAllowed (0.33 sec)

  1. cmd/batch-handlers.go

    					oi2, err := c.StatObject(ctx, r.Source.Bucket, obj.Key, miniogo.StatObjectOptions{})
    					if err == nil {
    						oi = toObjectInfo(r.Source.Bucket, obj.Key, oi2)
    					} else {
    						if !isErrMethodNotAllowed(ErrorRespToObjectError(err, r.Source.Bucket, obj.Key)) &&
    							!isErrObjectNotFound(ErrorRespToObjectError(err, r.Source.Bucket, obj.Key)) {
    							batchLogIf(ctx, err)
    						}
    						continue
    					}
    				}
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Oct 18 15:32:09 UTC 2024
    - 62.2K bytes
    - Viewed (0)
  2. cmd/object-api-errors.go

    }
    
    func isErrPreconditionFailed(err error) bool {
    	_, ok := err.(PreConditionFailed)
    	return ok
    }
    
    // isErrMethodNotAllowed - Check if error type is MethodNotAllowed.
    func isErrMethodNotAllowed(err error) bool {
    	var methodNotAllowed MethodNotAllowed
    	return errors.As(err, &methodNotAllowed)
    }
    
    func isErrInvalidRange(err error) bool {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Aug 09 02:05:14 UTC 2024
    - 22.1K bytes
    - Viewed (0)
  3. cmd/bucket-replication.go

    				ReplicationProxyRequest:           "false",
    				IsReplicationReadyForDeleteMarker: true,
    			},
    		})
    		serr := ErrorRespToObjectError(err, dobj.Bucket, dobj.ObjectName, dobj.VersionID)
    		switch {
    		case isErrMethodNotAllowed(serr):
    			// delete marker already replicated
    			if dobj.VersionID == "" && rinfo.VersionPurgeStatus.Empty() {
    				rinfo.ReplicationStatus = replication.Completed
    				return
    			}
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Oct 10 06:49:55 UTC 2024
    - 116.1K bytes
    - Viewed (0)
Back to top