- Sort Score
- Result 10 results
- Languages All
Results 281 - 290 of 2,461 for errors (0.06 sec)
-
internal/config/api/api.go
default: return cfg, fmt.Errorf("invalid value %v for list_quorum: will default to 'strict'", listQuorum) } cfg.ListQuorum = listQuorum replicationPriority := env.Get(EnvAPIReplicationPriority, kvs.GetWithDefault(apiReplicationPriority, DefaultKVS)) switch replicationPriority { case "slow", "fast", "auto": default: return cfg, fmt.Errorf("invalid value %v for replication_priority", replicationPriority)
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Fri Aug 16 08:43:49 UTC 2024 - 11.5K bytes - Viewed (0) -
cmd/bucket-encryption.go
func (sys *BucketSSEConfigSys) Get(bucket string) (*sse.BucketSSEConfig, error) { sseCfg, _, err := globalBucketMetadataSys.GetSSEConfig(bucket) return sseCfg, err } // validateBucketSSEConfig parses bucket encryption configuration and validates if it is supported by MinIO. func validateBucketSSEConfig(r io.Reader) (*sse.BucketSSEConfig, error) { encConfig, err := sse.ParseBucketSSEConfig(r) if err != nil { return nil, err
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Tue Oct 25 00:44:15 UTC 2022 - 1.7K bytes - Viewed (0) -
istioctl/pkg/precheck/precheck.go
if !response.Status.Allowed { if len(response.Status.Reason) > 0 { return errors.New(response.Status.Reason) } return errors.New("permission denied") } return nil } func checkServerVersion(cli kube.CLIClient) (diag.Messages, error) { v, err := cli.GetKubernetesVersion() if err != nil { return nil, fmt.Errorf("failed to get the Kubernetes version: %v", err) }
Registered: Wed Nov 06 22:53:10 UTC 2024 - Last Modified: Thu Oct 24 02:31:32 UTC 2024 - 15.3K bytes - Viewed (0) -
cmd/bucket-metadata.go
} } // Load - loads the metadata of bucket by name from ObjectLayer api. // If an error is returned the returned metadata will be default initialized. func readBucketMetadata(ctx context.Context, api ObjectLayer, name string) (BucketMetadata, error) { if name == "" { internalLogIf(ctx, errors.New("bucket name cannot be empty"), logger.WarningKind) return BucketMetadata{}, errInvalidArgument }
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Wed Aug 28 15:32:18 UTC 2024 - 18.2K bytes - Viewed (0) -
internal/logger/logger.go
if logIgnoreError(err) { return } logIf(ctx, subsystem, err, errKind...) } // LogIfNot prints a detailed error message during // the execution of the server, if it is not an ignored error (either internal or given). func LogIfNot(ctx context.Context, subsystem string, err error, ignored ...error) { if logIgnoreError(err) { return } for _, ignore := range ignored {
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Thu Aug 22 09:43:48 UTC 2024 - 12.4K bytes - Viewed (0) -
cmd/update.go
func releaseTagToReleaseTime(releaseTag string) (releaseTime time.Time, err error) { fields := strings.Split(releaseTag, ".") if len(fields) < 2 || len(fields) > 4 { return releaseTime, fmt.Errorf("%s is not a valid release tag", releaseTag) } if fields[0] != "RELEASE" { return releaseTime, fmt.Errorf("%s is not a valid release tag", releaseTag) } return time.Parse(MinioReleaseTagTimeLayout, fields[1]) }
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Fri May 24 23:05:23 UTC 2024 - 18.7K bytes - Viewed (0) -
fastapi/exception_handlers.py
status_code=HTTP_422_UNPROCESSABLE_ENTITY, content={"detail": jsonable_encoder(exc.errors())}, ) async def websocket_request_validation_exception_handler( websocket: WebSocket, exc: WebSocketRequestValidationError ) -> None: await websocket.close( code=WS_1008_POLICY_VIOLATION, reason=jsonable_encoder(exc.errors())
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Sun Jun 11 19:08:14 UTC 2023 - 1.3K bytes - Viewed (0) -
internal/config/certs.go
if err != nil { return tls.Certificate{}, ErrTLSUnexpectedData(nil).Msg(err.Error()) } return cert, nil } // EnsureCertAndKey checks if both client certificate and key paths are provided func EnsureCertAndKey(clientCert, clientKey string) error { if (clientCert != "" && clientKey == "") || (clientCert == "" && clientKey != "") { return errors.New("cert and key must be specified as a pair") } return nil
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Wed Aug 14 17:11:51 UTC 2024 - 3.8K bytes - Viewed (0) -
tests/test_ws_router.py
pass # pragma: no cover # the validation error does produce a close message assert e.value.code == status.WS_1008_POLICY_VIOLATION # and no error is leaked assert caught == [] def test_depend_err_middleware(): """ Verify that it is possible to write custom WebSocket middleware to catch errors """ @websocket_middleware
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Sun Jun 11 19:08:14 UTC 2023 - 7.5K bytes - Viewed (0) -
internal/s3select/sql/funceval.go
} return extract(strings.ToUpper(e.Timeword), t) } func errUnsupportedCast(fromType, toType string) error { return fmt.Errorf("Cannot cast from %v to %v", fromType, toType) } func errCastFailure(msg string) error { return fmt.Errorf("Error casting: %s", msg) } // Allowed cast types const ( castBool = "BOOL" castInt = "INT" castInteger = "INTEGER"
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Tue Jun 01 21:59:40 UTC 2021 - 13.2K bytes - Viewed (0)