- Sort Score
- Result 10 results
- Languages All
Results 301 - 310 of 1,124 for nil (0.01 sec)
-
cmd/object-api-getobjectinfo_test.go
{"test-getobjectinfo", "Asia/asiapics.jpg", resultCases[0], nil, true}, {"test-getobjectinfo", "Asia/empty-dir/", resultCases[1], nil, true}, } for i, testCase := range testCases { result, err := obj.GetObjectInfo(context.Background(), testCase.bucketName, testCase.objectName, opts) if err != nil && testCase.shouldPass {
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Fri Dec 23 15:46:00 UTC 2022 - 5.6K bytes - Viewed (0) -
tests/tests_test.go
func init() { var err error if DB, err = OpenTestConnection(&gorm.Config{}); err != nil { log.Printf("failed to connect database, got error %v", err) os.Exit(1) } else { sqlDB, err := DB.DB() if err != nil { log.Printf("failed to connect database, got error %v", err) os.Exit(1) } err = sqlDB.Ping() if err != nil { log.Printf("failed to ping sqlDB, got error %v", err) os.Exit(1) }
Registered: Sun Nov 03 09:35:10 UTC 2024 - Last Modified: Mon Sep 30 03:21:19 UTC 2024 - 3.3K bytes - Viewed (0) -
internal/logger/reqinfo.go
func (r *ReqInfo) AppendTags(key, val string) *ReqInfo { if r == nil { return nil } r.Lock() defer r.Unlock() r.tags = append(r.tags, KeyVal{key, val}) return r } // SetTags - sets key/val to ReqInfo.tags func (r *ReqInfo) SetTags(key, val string) *ReqInfo { if r == nil { return nil } r.Lock() defer r.Unlock() // Search of tag key already exists in tags
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Tue Aug 13 22:22:04 UTC 2024 - 4.4K bytes - Viewed (0) -
istioctl/pkg/internaldebug/internal-debug.go
return nil, fmt.Errorf(" You must provide a proxyID in the query string, e.g. [%s]", "edsz?proxyID=istio-ingressgateway") case strings.Contains(eString, "404 page not found"): return HandlerForRetrieveDebugList(kubeClient, *centralOpts, writer, istioNamespace) } } } return nil, nil } func DebugCommand(ctx cli.Context) *cobra.Command {
Registered: Wed Nov 06 22:53:10 UTC 2024 - Last Modified: Fri Jul 12 11:30:24 UTC 2024 - 6.7K bytes - Viewed (0) -
internal/config/identity/openid/provider/keycloak.go
} if p.adminURL == "" { return nil, errors.New("Admin URL cannot be empty") } _, err := url.Parse(p.adminURL) if err != nil { return nil, fmt.Errorf("Unable to parse the adminURL %s: %w", p.adminURL, err) } if p.client.Transport == nil { p.client.Transport = http.DefaultTransport } if p.oeConfig.TokenEndpoint == "" { return nil, errors.New("missing OpenID token endpoint") }
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Sun Jul 14 18:12:07 UTC 2024 - 4.6K bytes - Viewed (0) -
cni/pkg/ipset/nldeps_linux.go
// // The "right" way to do this is: // if err == nl.IPSetError(nl.IPSET_ERR_EXIST) { // log.Debugf("ignoring ipset err") // return nil // } // but that doesn't actually work, so strings.Contains the error. if err != nil && strings.Contains(err.Error(), "exists") { return nil } return err } func (m *realDeps) destroySet(name string) error { err := netlink.IpsetDestroy(name) return err }
Registered: Wed Nov 06 22:53:10 UTC 2024 - Last Modified: Thu Jul 18 23:53:18 UTC 2024 - 4.1K bytes - Viewed (0) -
internal/bucket/object/lock/lock.go
if err != nil { return nil, err } hold = &ObjectLegalHold{} if err = xml.NewDecoder(bytes.NewReader(buf)).Decode(hold); err != nil { return nil, err } if !hold.Status.Valid() { return nil, ErrMalformedXML } return } // FilterObjectLockMetadata filters object lock metadata if s3:GetObjectRetention permission is denied or if isCopy flag set.
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Sat Jun 29 01:20:27 UTC 2024 - 17.1K bytes - Viewed (0) -
internal/config/lambda/event/arn_test.go
testCases := []struct { s string expectedARN *ARN expectErr bool }{ {"", nil, true}, {"arn:minio:s3-object-lambda:::", nil, true}, {"arn:minio:s3-object-lambda::1:webhook:remote", nil, true}, {"arn:aws:s3-object-lambda::1:webhook", nil, true}, {"arn:minio:sns::1:webhook", nil, true}, {"arn:minio:s3-object-lambda::1:webhook", &ARN{TargetID{"1", "webhook"}, ""}, false},
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Tue Mar 07 16:12:41 UTC 2023 - 2.2K bytes - Viewed (0) -
cmd/warm-backend-s3.go
return nil, s3.ToObjectError(err, object) } } c := &minio.Core{Client: s3.client} // Important to use core primitives here to pass range get options as is. r, _, _, err := c.GetObject(ctx, s3.Bucket, s3.getDest(object), gopts) if err != nil { return nil, s3.ToObjectError(err, object) } return r, nil }
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Thu Oct 31 22:10:24 UTC 2024 - 5.7K bytes - Viewed (0) -
internal/event/target/elasticsearch.go
} return nil } func (target *ElasticsearchTarget) checkAndInitClient(ctx context.Context) error { if target.client != nil { return nil } clientV7, err := newClientV7(target.args) if err != nil { return err } // Check es version to confirm if it is supported. serverSupportStatus, version, err := clientV7.getServerSupportStatus(ctx) if err != nil { return err }
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Fri Sep 06 23:06:30 UTC 2024 - 15K bytes - Viewed (0)