- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 163 for older (0.19 sec)
-
cmd/update-notifier.go
// newer version is available. func prepareUpdateMessage(downloadURL string, older time.Duration) string { if downloadURL == "" || older <= 0 { return "" } // Compute friendly duration string to indicate time // difference between newer and current release. t := time.Time{} newerThan := humanize.RelTime(t, t.Add(older), "before the latest release", "") if globalServerCtxt.JSON {
Go - Registered: Sun May 05 19:28:20 GMT 2024 - Last Modified: Sat Mar 09 03:07:08 GMT 2024 - 3.6K bytes - Viewed (0) -
cmd/update-notifier_test.go
{2 * 365 * 24 * time.Hour, "my_download_url", "2 years before the latest release"}, } plainMsg := "You are running an older version of MinIO released" for i, testCase := range testCases { output := prepareUpdateMessage(testCase.dlURL, testCase.older) line1 := fmt.Sprintf("%s %s", plainMsg, color.YellowBold(testCase.expectedSubStr)) line2 := fmt.Sprintf("Update: %s", color.CyanBold(testCase.dlURL))
Go - Registered: Sun May 05 19:28:20 GMT 2024 - Last Modified: Mon Jul 31 15:36:19 GMT 2023 - 4.1K bytes - Viewed (0) -
cmd/bucket-quota.go
if err != nil && !errors.Is(err, context.DeadlineExceeded) && !errors.As(err, &timedout) { if len(dui.BucketsUsage) > 0 { internalLogOnceIf(GlobalContext, fmt.Errorf("unable to retrieve usage information for bucket: %s, relying on older value cached in-memory: err(%v)", bucket, err), "bucket-usage-cache-"+bucket) } else {
Go - Registered: Sun May 05 19:28:20 GMT 2024 - Last Modified: Thu Apr 04 12:04:40 GMT 2024 - 4.3K bytes - Viewed (0) -
internal/logger/legacy.go
) // Legacy envs const ( legacyEnvAuditLoggerHTTPEndpoint = "MINIO_AUDIT_LOGGER_HTTP_ENDPOINT" legacyEnvLoggerHTTPEndpoint = "MINIO_LOGGER_HTTP_ENDPOINT" ) // SetLoggerHTTPAudit - helper for migrating older config to newer KV format. func SetLoggerHTTPAudit(scfg config.Config, k string, args http.Config) { if !args.Enabled { // Do not enable audit targets, if not enabled return }
Go - Registered: Sun May 05 19:28:20 GMT 2024 - Last Modified: Thu Aug 03 09:47:07 GMT 2023 - 2K bytes - Viewed (1) -
cmd/batch-rotate.go
if r.Flags.Filter.OlderThan > 0 && time.Since(info.ModTime) < r.Flags.Filter.OlderThan { // skip all objects that are newer than specified older duration return false } if r.Flags.Filter.NewerThan > 0 && time.Since(info.ModTime) >= r.Flags.Filter.NewerThan { // skip all objects that are older than specified newer duration return false }
Go - Registered: Sun May 05 19:28:20 GMT 2024 - Last Modified: Thu Apr 04 12:04:40 GMT 2024 - 14.2K bytes - Viewed (0) -
cmd/server-rlimit.go
return false } if currentKernel == 0 { // We could not get any valid value return false return false } // legacy linux indicator for printing warnings // about older Linux kernels and Go runtime. return currentKernel < kernel.Version(4, 0, 0) } func setMaxResources(ctx *cli.Context) (err error) { // Set the Go runtime max threads threshold to 90% of kernel setting.
Go - Registered: Sun May 05 19:28:20 GMT 2024 - Last Modified: Thu Apr 04 12:06:57 GMT 2024 - 2.8K bytes - Viewed (0) -
cmd/batch-expire.go
// rules: // - type: object # regular objects with zero or more older versions // name: NAME # match object names that satisfy the wildcard expression. // olderThan: 70h # match objects older than this value // createdBefore: "2006-01-02T15:04:05.00Z" # match objects created before "date" // tags: // - key: name
Go - Registered: Sun May 05 19:28:20 GMT 2024 - Last Modified: Thu Apr 04 12:04:40 GMT 2024 - 21K bytes - Viewed (1) -
cmd/metacache_test.go
lastHandout: metaCacheTestsetTimestamp, dataVersion: metacacheStreamVersion, }, 2: { id: "case-3-older", bucket: "bucket", root: "folder/prefix", recursive: false, status: scanStateSuccess, fileNotFound: true, error: "", started: metaCacheTestsetTimestamp.Add(-time.Minute), ended: metaCacheTestsetTimestamp,
Go - Registered: Sun May 05 19:28:20 GMT 2024 - Last Modified: Wed Sep 08 18:06:45 GMT 2021 - 6.8K bytes - Viewed (0) -
internal/config/identity/ldap/legacy.go
// Lookup bind LDAP service account LookupBindDN string `json:"lookupBindDN"` LookupBindPassword string `json:"lookupBindPassword"` } // SetIdentityLDAP - One time migration code needed, for migrating from older config to new for LDAPConfig. func SetIdentityLDAP(s config.Config, ldapArgs LegacyConfig) { if !ldapArgs.Enabled { // ldap not enabled no need to preserve it in new settings. return }
Go - Registered: Sun May 05 19:28:20 GMT 2024 - Last Modified: Sat Oct 08 05:12:36 GMT 2022 - 2.2K bytes - Viewed (0) -
internal/config/api/help.go
Optional: true, Type: "number", }, config.HelpKV{ Key: apiStaleUploadsExpiry, Description: `set to expire stale multipart uploads older than this values` + defaultHelpPostfix(apiStaleUploadsExpiry), Optional: true, Type: "duration", }, config.HelpKV{ Key: apiStaleUploadsCleanupInterval,
Go - Registered: Sun May 05 19:28:20 GMT 2024 - Last Modified: Fri Mar 15 01:07:19 GMT 2024 - 4.7K bytes - Viewed (0)