Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for forceCreate (0.05 sec)

  1. cmd/bucket-handlers.go

    		default:
    			writeErrorResponse(ctx, w, errorCodes.ToAPIErr(ErrInvalidRequest), r.URL)
    			return
    		}
    	}
    
    	forceCreate := false
    	if vs := r.Header.Get(xhttp.MinIOForceCreate); len(vs) > 0 {
    		v := strings.ToLower(vs)
    		switch v {
    		case "true", "false":
    			forceCreate = v == "true"
    		default:
    			writeErrorResponse(ctx, w, errorCodes.ToAPIErr(ErrInvalidRequest), r.URL)
    			return
    		}
    	}
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Sep 12 12:24:04 UTC 2024
    - 63.4K bytes
    - Viewed (0)
  2. cmd/peer-rest-server.go

    	bucket := mss.Get(peerS3Bucket)
    	if isMinioMetaBucket(bucket) {
    		return np, grid.NewRemoteErr(errInvalidArgument)
    	}
    
    	forceCreate := mss.Get(peerS3BucketForceCreate) == "true"
    	err := makeBucketLocal(context.Background(), bucket, MakeBucketOptions{
    		ForceCreate: forceCreate,
    	})
    	if err != nil {
    		return np, grid.NewRemoteErr(err)
    	}
    
    	return np, nil
    }
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Oct 04 11:32:32 UTC 2024
    - 53.2K bytes
    - Viewed (0)
Back to top