- Sort Score
- Result 10 results
- Languages All
Results 1 - 9 of 9 for throw (0.12 sec)
-
cmd/object-multipart-handlers.go
} clientETag, err := etag.FromContentMD5(r.Header) if err != nil { writeErrorResponse(ctx, w, errorCodes.ToAPIErr(ErrInvalidDigest), r.URL) return } // if Content-Length is unknown/missing, throw away size := r.ContentLength rAuthType := getRequestAuthType(r) // For auth type streaming signature, we need to gather a different content length. switch rAuthType {
Go - Registered: Sun May 05 19:28:20 GMT 2024 - Last Modified: Thu Mar 28 17:44:56 GMT 2024 - 39K bytes - Viewed (0) -
cmd/speedtest.go
} // if the default concurrency yields zero results, throw an error. if throughputHighestResults[i].Downloads == 0 && opts.concurrencyStart == concurrency { errStr = fmt.Sprintf("no results for downloads upon first attempt, concurrency %d and duration %s", opts.concurrencyStart, opts.duration) } // if the default concurrency yields zero results, throw an error.
Go - Registered: Sun May 05 19:28:20 GMT 2024 - Last Modified: Sun Jan 28 18:04:17 GMT 2024 - 9K bytes - Viewed (0) -
cmd/streaming-signature-v4.go
if errCode != ErrNone { return cred, "", "", time.Time{}, errCode } // Verify if region is valid. region = signV4Values.Credential.scope.region // Extract date, if not present throw error. var dateStr string if dateStr = req.Header.Get("x-amz-date"); dateStr == "" { if dateStr = r.Header.Get("Date"); dateStr == "" { return cred, "", "", time.Time{}, ErrMissingDateHeader } }
Go - Registered: Sun May 05 19:28:20 GMT 2024 - Last Modified: Thu Jan 18 07:03:17 GMT 2024 - 18.2K bytes - Viewed (0) -
cmd/config-current.go
} case config.CallhomeSubSys: cfg, err := callhome.LookupConfig(s[config.CallhomeSubSys][config.Default]) if err != nil { return err } // callhome cannot be enabled if license is not registered yet, throw an error. if cfg.Enabled() && !globalSubnetConfig.Registered() { return errors.New("Deployment is not registered with SUBNET. Please register the deployment via 'mc license register ALIAS'") } case config.DriveSubSys:
Go - Registered: Sun May 05 19:28:20 GMT 2024 - Last Modified: Fri May 03 20:08:20 GMT 2024 - 30.8K bytes - Viewed (0) -
cmd/signature-v4.go
if errCode != ErrNone { return errCode } cred, _, s3Err := checkKeyValid(r, signV4Values.Credential.accessKey) if s3Err != ErrNone { return s3Err } // Extract date, if not present throw error. var date string if date = req.Header.Get(xhttp.AmzDate); date == "" { if date = r.Header.Get(xhttp.Date); date == "" { return ErrMissingDateHeader } } // Parse date header.
Go - Registered: Sun May 05 19:28:20 GMT 2024 - Last Modified: Fri Apr 19 16:45:54 GMT 2024 - 12.3K bytes - Viewed (0) -
cmd/healthcheck-handler.go
ctx, cancel := context.WithTimeout(r.Context(), defaultContextTimeout) defer cancel() if _, err := globalEtcdClient.Get(ctx, "health"); err != nil { // etcd unreachable throw an error.. switch r.Method { case http.MethodHead: apiErr := toAPIError(r.Context(), err) writeResponse(w, apiErr.HTTPStatusCode, nil, mimeNone) case http.MethodGet:
Go - Registered: Sun May 05 19:28:20 GMT 2024 - Last Modified: Wed Apr 03 21:13:20 GMT 2024 - 6.5K bytes - Viewed (0) -
docs/distributed/DECOMMISSION.md
λ mc admin decommission status alias/ http://minio{1...2}/data{1...4} Decommission of pool http://minio{1...2}/data{1...4} is complete, you may now remove it from server command line ``` ### A pool not under decommissioning will throw an error ``` λ mc admin decommission status alias/ http://minio{1...2}/data{1...4} ERROR: This pool is not scheduled for decommissioning currently. ``` ## Canceling a decommission
Plain Text - Registered: Sun May 05 19:28:20 GMT 2024 - Last Modified: Mon Jul 11 14:59:49 GMT 2022 - 8.3K bytes - Viewed (0) -
cmd/erasure-sets.go
var wg sync.WaitGroup wg.Add(len(s.sets)) for _, s := range s.sets { go func(s *erasureObjects) { defer wg.Done() // This is a force delete, no reason to throw errors. s.DeleteObject(ctx, bucket, prefix, ObjectOptions{DeletePrefix: true}) }(s) } wg.Wait() return nil } // DeleteObject - deletes an object from the hashedSet based on the object name.
Go - Registered: Sun May 05 19:28:20 GMT 2024 - Last Modified: Fri May 03 20:08:20 GMT 2024 - 37.7K bytes - Viewed (5) -
docs/bucket/versioning/README.md
import java.security.InvalidKeyException; import java.security.NoSuchAlgorithmException; public class EnableVersioning { /** MinioClient.enableVersioning() example. */ public static void main(String[] args) throws IOException, NoSuchAlgorithmException, InvalidKeyException { try { /* play.min.io for test and development. */ MinioClient minioClient = MinioClient.builder()
Plain Text - Registered: Sun May 05 19:28:20 GMT 2024 - Last Modified: Thu May 04 21:43:52 GMT 2023 - 11.9K bytes - Viewed (1)