- Sort Score
- Result 10 results
- Languages All
Results 341 - 350 of 690 for OK (0.03 sec)
-
cmd/metrics-v3-bucket-replication.go
return nil } bucketReplStats := globalReplicationStats.Load().getAllLatest(dataUsageInfo.BucketsUsage) for _, bucket := range buckets { labels := []string{bucketL, bucket} if s, ok := bucketReplStats[bucket]; ok { stats := s.ReplicationStats if stats.hasReplicationUsage() { for arn, stat := range stats.Stats { m.Set(bucketReplLastHrFailedBytes, float64(stat.Failed.LastHour.Bytes), labels...)
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Thu Aug 15 12:04:40 UTC 2024 - 8.1K bytes - Viewed (0) -
cni/pkg/log/uds.go
if err != nil { log.Errorf("Failed to unmarshal CNI plugin logs: %v", err) return } messages := make([]cniLog, 0, len(cniLogs)) for _, l := range cniLogs { msg, ok := parseCniLog(l) if !ok { continue } messages = append(messages, msg) } // Lock log message printing to prevent log messages from different CNI // processes interleave. l.mu.Lock() defer l.mu.Unlock()
Registered: Wed Nov 06 22:53:10 UTC 2024 - Last Modified: Fri Jun 28 19:12:54 UTC 2024 - 4.7K bytes - Viewed (0) -
istioctl/pkg/tag/util.go
} // GetWebhookRevision extracts tag target revision from webhook object. func GetWebhookRevision(wh admitv1.MutatingWebhookConfiguration) (string, error) { if tagName, ok := wh.ObjectMeta.Labels[label.IoIstioRev.Name]; ok { return tagName, nil } return "", fmt.Errorf("could not extract tag revision from webhook") } // DeleteTagWebhooks deletes the given webhooks.
Registered: Wed Nov 06 22:53:10 UTC 2024 - Last Modified: Wed Oct 09 16:05:45 UTC 2024 - 5.5K bytes - Viewed (0) -
cmd/bucket-quota.go
} } if len(dui.BucketsUsage) > 0 { bui, ok := dui.BucketsUsage[bucket] if ok { return bui } } return BucketUsageInfo{} } // parseBucketQuota parses BucketQuota from json func parseBucketQuota(bucket string, data []byte) (quotaCfg *madmin.BucketQuota, err error) {
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Thu Aug 15 00:34:56 UTC 2024 - 4.4K bytes - Viewed (0) -
internal/jwt/parser_test.go
} if !data.valid && err == nil { t.Errorf("Invalid token passed validation") } if data.errors != 0 { _, ok := err.(*jwt.ValidationError) if !ok { t.Errorf("Expected *jwt.ValidationError, but got %#v instead", err) } } }) }
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Fri Nov 05 19:20:08 UTC 2021 - 6K bytes - Viewed (0) -
internal/logger/target/console/console.go
func (c *Target) Endpoint() string { return "" } func (c *Target) String() string { return "console" } // Send log message 'e' to console func (c *Target) Send(e interface{}) error { entry, ok := e.(log.Entry) if !ok { return fmt.Errorf("Uexpected log entry structure %#v", e) } if logger.IsJSON() { logJSON, err := json.Marshal(&entry) if err != nil { return err }
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Fri May 24 23:05:23 UTC 2024 - 3.9K bytes - Viewed (0) -
cmd/sts-errors.go
ErrSTSIAMNotInitialized ErrSTSUpstreamError ErrSTSInternalError ) type stsErrorCodeMap map[STSErrorCode]STSError func (e stsErrorCodeMap) ToSTSErr(errCode STSErrorCode) STSError { apiErr, ok := e[errCode] if !ok { return e[ErrSTSInternalError] } return apiErr } // error code to STSError structure, these fields carry respective // descriptions for all the error responses.
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Thu Apr 04 12:04:40 UTC 2024 - 5.8K bytes - Viewed (0) -
cmd/bucket-notification-handlers.go
return } region := globalSite.Region() config.SetRegion(region) if err = config.Validate(region, globalEventNotifier.targetList); err != nil { arnErr, ok := err.(*event.ErrARNNotFound) if ok { for i, queue := range config.QueueList { // Remove ARN not found queues, because we previously allowed // adding unexpected entries into the config. //
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Fri May 24 23:05:23 UTC 2024 - 5.1K bytes - Viewed (0) -
istioctl/pkg/injector/injector-list.go
} newRev := namespace.ObjectMeta.GetLabels()[label.IoIstioRev.Name] oldLabel, ok := namespace.ObjectMeta.GetLabels()[analyzer_util.InjectionLabelName] // If there is no istio-injection=disabled and no istio.io/rev, the namespace isn't injected if newRev == "" && (ok && oldLabel == "disabled" || !ok) { return "" } if newRev != "" { return fmt.Sprintf("MISSING/%s", newRev) }
Registered: Wed Nov 06 22:53:10 UTC 2024 - Last Modified: Fri Oct 18 11:39:52 UTC 2024 - 10.6K bytes - Viewed (0) -
cmd/sftp-server.go
if globalIAMSys.LDAPConfig.Enabled() { perms, _ := processLDAPAuthentication(key, pass, user) if perms != nil { return perms, nil } } internalAuth: ui, ok := globalIAMSys.GetUser(context.Background(), user) if !ok { return nil, errNoSuchUser } if caPublicKey != nil && pass == nil { err := validateKey(c, key) if err != nil { return nil, errAuthentication } } else {
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Tue Aug 20 20:00:29 UTC 2024 - 16K bytes - Viewed (0)