- Sort Score
- Num 10 results
- Language All
Results 211 - 220 of 1,855 for Errors (0.06 seconds)
-
cmd/config-dir.go
return dir.path } // Attempts to create all directories, ignores any permission denied errors. func mkdirAllIgnorePerm(path string) error { err := os.MkdirAll(path, 0o700) if err != nil { // It is possible in kubernetes like deployments this directory // is already mounted and is not writable, ignore any write errors. if osIsPermission(err) { err = nil } } return err }
Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Sun Jan 02 17:15:06 GMT 2022 - 3K bytes - Click Count (0) -
prepare_stmt.go
} func (db *PreparedStmtDB) Ping() error { conn, err := db.GetDBConn() if err != nil { return err } return conn.Ping() } type PreparedStmtTX struct { Tx PreparedStmtDB *PreparedStmtDB } func (db *PreparedStmtTX) GetDBConn() (*sql.DB, error) { return db.PreparedStmtDB.GetDBConn() } func (tx *PreparedStmtTX) Commit() error {
Created: Sun Dec 28 09:35:17 GMT 2025 - Last Modified: Fri Apr 25 08:22:26 GMT 2025 - 5.7K bytes - Click Count (0) -
scripts/contributors.py
) if response.status_code != 200: logging.error(f"Response was not 200, after: {after}") logging.error(response.text) raise RuntimeError(response.text) data = response.json() if "errors" in data: logging.error(f"Errors in response, after: {after}") logging.error(data["errors"]) logging.error(response.text) raise RuntimeError(response.text) return dataCreated: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Tue Dec 16 12:34:01 GMT 2025 - 8.6K bytes - Click Count (0) -
internal/config/subnet/subnet.go
if resp.StatusCode == http.StatusOK { return respStr, nil } return respStr, fmt.Errorf("SUBNET request failed with code %d and error: %s", resp.StatusCode, respStr) } // Post submit 'payload' to specified URL func (c Config) Post(reqURL string, payload any) (string, error) { if !c.Registered() { return "", errors.New("Deployment is not registered with SUBNET. Please register the deployment via 'mc license register ALIAS'")Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Fri Aug 29 02:39:48 GMT 2025 - 2.9K bytes - Click Count (0) -
cmd/perf-tests.go
if err != nil { result.Error = err.Error() return result } rp := cli.GetEndpointURL() reqURL := &url.URL{ Scheme: rp.Scheme, Host: rp.Host, Path: reqPath, } result.Endpoint = rp.String() req, err := http.NewRequestWithContext(ctx, http.MethodPost, reqURL.String(), reader) if err != nil { result.Error = err.Error() return result } client := &http.Client{Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Sun Sep 28 20:59:21 GMT 2025 - 11.8K bytes - Click Count (0) -
cmd/bitrot-streaming.go
byteBuf []byte finished bool } func (b *streamingBitrotWriter) Write(p []byte) (int, error) { if len(p) == 0 { return 0, nil } if b.finished { return 0, errors.New("bitrot write not allowed") } if int64(len(p)) > b.shardSize { return 0, errors.New("unexpected bitrot buffer size") } if int64(len(p)) < b.shardSize { b.finished = true } b.h.Reset() b.h.Write(p)
Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Fri Jan 17 19:19:30 GMT 2025 - 6.2K bytes - Click Count (0) -
cmd/admin-handlers-pools.go
package cmd import ( "context" "encoding/json" "errors" "fmt" "net/http" "strconv" "strings" "github.com/minio/mux" "github.com/minio/pkg/v3/env" "github.com/minio/pkg/v3/policy" ) var ( errRebalanceDecommissionAlreadyRunning = errors.New("Rebalance cannot be started, decommission is already in progress")
Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Sun Sep 28 20:59:21 GMT 2025 - 11.1K bytes - Click Count (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"
Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Sun Sep 28 20:59:21 GMT 2025 - 13.2K bytes - Click Count (0) -
internal/auth/credentials.go
reservedChars = "=," ) // Common errors generated for access and secret key validation. var ( ErrInvalidAccessKeyLength = fmt.Errorf("access key length should be between %d and %d", accessKeyMinLen, accessKeyMaxLen) ErrInvalidSecretKeyLength = fmt.Errorf("secret key length should be between %d and %d", secretKeyMinLen, secretKeyMaxLen) ErrNoAccessKeyWithSecretKey = fmt.Errorf("access key must be specified if secret key is specified")Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Fri Aug 29 02:39:48 GMT 2025 - 11.8K bytes - Click Count (0) -
architecture/standards/0008-use-nullaway.md
## Decision Use "NullAway" in JSpecify mode to check for null-related errors in Java code. Consider improper uses of `null` detected by NullAway a compilation error (not a warning, and not a separate CI job to test). Do not suppress NullAway errors without a justification. Prefer rearranging the code to avoid the error, unless there is a provable performance penalty or a significant loss of code readability.
Created: Wed Dec 31 11:36:14 GMT 2025 - Last Modified: Thu Dec 11 10:24:40 GMT 2025 - 4K bytes - Click Count (0)