- Sort Score
- Result 10 results
- Languages All
Results 1 - 3 of 3 for forceCreate (0.06 sec)
-
cmd/admin-bucket-handlers.go
if err != nil { rpt.SetStatus(bucket, fileName, err) continue } if _, ok := bucketMap[bucket]; !ok { opts := MakeBucketOptions{ LockEnabled: config.Enabled(), ForceCreate: true, // ignore if it already exists } err = objectAPI.MakeBucket(ctx, bucket, opts) if err != nil { rpt.SetStatus(bucket, fileName, err) continue }
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Wed Aug 28 15:32:18 UTC 2024 - 33.2K bytes - Viewed (0) -
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) -
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)