if err := validateFilename(filename); err != nil { return c.Status(http.StatusBadRequest).SendString(err.Error()) }-_, err := mc.StatObject(c.Context(), bucketName, filename, minio.StatObjectOptions{})+objInfo, err := mc.StatObject(c.Context(), bucketName, filename, minio.Stat...
Err:(*errors.errorString)(0xc42021c010)} Msg: Puthttp://bucket.xxx.s3-eu-west-1.amazonaws.com/clients/greta_vendee/medias/CM-3b714fa2-f497-ce7d-eb15-b8aeedea2f3c-1521012864.cebox?part
StringUtils.hasLength(fileStorageRecord.getId())) { fileStorageRecord.setId(UUID.randomUUID().toString()); MutilConnectionPool.run("main", conn -> ModelSqlUtils.insertSql(fileStorageRecord).executeUpdate(conn)); }elseMutilConnectionPool.run("main", conn -> ModelSqlUtils.updateSql(fileStorageRecord)....
func IsErr(err error, errs ...error) bool { for _, exactErr := range errs { if errors.Is(err, exactErr) { return true } } return false } // returns 'true' if either string has space in the // - beginning of a string // OR // - end of a string func hasSpaceBE(s ...
time="2017-11-26T19:30:18+08:00" level=error msg="Unable to write to client." cause="write tcp 10.165.195.24:25252->10.165.192.80:55170: write: connection reset by peer" source="[object-handlers.go:186:objectAPIHandlers.GetObjectHandler()]" stack="fs-v1.go:449:fsObjects.GetObject <...
Search or jump to... Search code, repositories, users, issues, pull requests... Provide feedback We read every piece of feedback, and take your input very seriously. Include my email address so I can be contacted Cancel Submit feedback Saved searches Use saved searches to filter your...
Minio Client SDK for Go. Contribute to yazver/minio-go development by creating an account on GitHub.
if err != nil { writeErrorResponse(ctx, w, toAPIError(ctx, InvalidArgument{ Bucket: bucket, Err: fmt.Errorf("invalid query parameter older-than %s for %s : %w", durationStr, bucket, err), }), r.URL) } } resetBeforeDate := UTCNow().AddDate(0, 0, -1*int(days/2...
timer.Reset(cacheDuration) } } } @@ -484,7 +488,8 @@ func (c *kesClient) Verify(ctx context.Context) []VerifyResult { // Logger interface permits access to module specific logging, in this case, for KMS type Logger interface { LogOnceIf(ctx context.Context, subsystem string, err er...
We read every piece of feedback, and take your input very seriously. Include my email address so I can be contacted Cancel Submit feedback Saved searches Use saved searches to filter your results more quickly Cancel Create saved search Sign in Sign up Reseting focus {...