Search Options

Results per page
Sort
Preferred Languages
Advance

Results 111 - 120 of 1,124 for nil (0.02 sec)

  1. internal/config/identity/openid/openid.go

    	if err != nil {
    		return nil, err
    	}
    
    	present := false
    	for _, cfg := range openIDConfigs {
    		if cfg == cfgName {
    			present = true
    			break
    		}
    	}
    
    	if !present {
    		return nil, ErrProviderConfigNotFound
    	}
    
    	kvsrcs, err := s.GetResolvedConfigParams(config.IdentityOpenIDSubSys, cfgName, true)
    	if err != nil {
    		return nil, err
    	}
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Wed Jul 10 20:16:44 UTC 2024
    - 16.6K bytes
    - Viewed (0)
  2. istioctl/pkg/writer/pilot/status.go

    			clientConfig := xdsstatus.ClientConfig{}
    			err := resource.UnmarshalTo(&clientConfig)
    			if err != nil {
    				return nil, nil, fmt.Errorf("could not unmarshal ClientConfig: %w", err)
    			}
    			meta, err := model.ParseMetadata(clientConfig.GetNode().GetMetadata())
    			if err != nil {
    				return nil, nil, fmt.Errorf("could not parse node metadata: %w", err)
    			}
    			if s.Namespace != "" && meta.Namespace != s.Namespace {
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Fri Jun 21 22:47:20 UTC 2024
    - 6.5K bytes
    - Viewed (0)
  3. cmd/bucket-lifecycle-handlers.go

    	if _, err := objAPI.GetBucketInfo(ctx, bucket, BucketOptions{}); err != nil {
    		writeErrorResponse(ctx, w, toAPIError(ctx, err), r.URL)
    		return
    	}
    
    	config, updatedAt, err := globalBucketMetadataSys.GetLifecycleConfig(bucket)
    	if err != nil {
    		writeErrorResponse(ctx, w, toAPIError(ctx, err), r.URL)
    		return
    	}
    	// explicitly set ExpiryUpdatedAt nil as its meant for internal consumption only
    	config.ExpiryUpdatedAt = nil
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 7K bytes
    - Viewed (0)
  4. internal/config/lambda/target/webhook.go

    	defer func() {
    		if err != nil {
    			atomic.AddInt64(&target.failedRequests, 1)
    		}
    	}()
    
    	if err = target.init(); err != nil {
    		return nil, err
    	}
    
    	data, err := json.Marshal(eventData)
    	if err != nil {
    		return nil, err
    	}
    
    	req, err := http.NewRequest(http.MethodPost, target.args.Endpoint.String(), bytes.NewReader(data))
    	if err != nil {
    		return nil, err
    	}
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon Jul 08 21:39:49 UTC 2024
    - 6.7K bytes
    - Viewed (0)
  5. tests/soft_delete_test.go

    		t.Errorf("Count soft deleted record, expects: %v, got: %v", 1, count)
    	}
    
    	if DB.Model(&User{}).Select("age").Where("name = ?", user.Name).Scan(&age).Error != nil || age != user.Age {
    		t.Errorf("Age soft deleted record, expects: %v, got: %v", 0, age)
    	}
    
    	if err := DB.Delete(&user).Error; err != nil {
    Registered: Sun Nov 03 09:35:10 UTC 2024
    - Last Modified: Wed Feb 01 06:40:55 UTC 2023
    - 5.7K bytes
    - Viewed (0)
  6. internal/s3select/sql/analysis.go

    	switch {
    	case e.Compare != nil:
    		result = e.Compare.Operand.analyze(s)
    	case e.Between != nil:
    		result.combine(e.Between.Start.analyze(s))
    		result.combine(e.Between.End.analyze(s))
    	case e.In != nil:
    		result.combine(e.In.analyze(s))
    	case e.Like != nil:
    		result.combine(e.Like.Pattern.analyze(s))
    		if e.Like.EscapeChar != nil {
    			result.combine(e.Like.EscapeChar.analyze(s))
    		}
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Sat Dec 23 07:19:11 UTC 2023
    - 8.5K bytes
    - Viewed (0)
  7. cmd/admin-handlers_test.go

    	erasureDirs, err := getRandomDisks(16)
    	if err != nil {
    		return nil, nil, err
    	}
    	endpoints := mustGetPoolEndpoints(0, erasureDirs...)
    	globalPolicySys = NewPolicySys()
    	objLayer, err := newErasureServerPools(ctx, endpoints)
    	if err != nil {
    		return nil, nil, err
    	}
    
    	// Make objLayer available to all internal services via globalObjectAPI.
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Wed Jul 24 10:24:01 UTC 2024
    - 13.9K bytes
    - Viewed (0)
  8. internal/logger/config.go

    			var host *xnet.Host
    			host, err = xnet.ParseHost(s)
    			if err != nil {
    				break
    			}
    			brokers = append(brokers, *host)
    		}
    		if err != nil {
    			return cfg, err
    		}
    
    		clientAuthCfgVal := getCfgVal(EnvKafkaTLSClientAuth, k, kv.Get(KafkaTLSClientAuth))
    		clientAuth, err := strconv.Atoi(clientAuthCfgVal)
    		if err != nil {
    			return cfg, err
    		}
    
    		kafkaArgs := kafka.Config{
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Sep 20 16:02:50 UTC 2024
    - 18.3K bytes
    - Viewed (0)
  9. cmd/encryption-v1_test.go

    	for i, test := range decryptETagTests {
    		etag, err := DecryptETag(test.ObjectKey, test.ObjectInfo)
    		if err != nil && !test.ShouldFail {
    			t.Fatalf("Test %d: should succeed but failed: %v", i, err)
    		}
    		if err == nil && test.ShouldFail {
    			t.Fatalf("Test %d: should fail but succeeded", i)
    		}
    		if err == nil {
    			if etag != test.ETag {
    				t.Fatalf("Test %d: ETag mismatch: got %s - want %s", i, etag, test.ETag)
    			}
    		}
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Sat Sep 24 04:17:08 UTC 2022
    - 19.9K bytes
    - Viewed (0)
  10. istioctl/pkg/writer/envoy/configdump/listener.go

    }
    
    func (c *ConfigWriter) retrieveSortedListenerSlice() ([]*listener.Listener, error) {
    	if c.configDump == nil {
    		return nil, fmt.Errorf("config writer has not been primed")
    	}
    	listenerDump, err := c.configDump.GetListenerConfigDump()
    	if err != nil {
    		return nil, fmt.Errorf("listener dump: %v", err)
    	}
    	listeners := make([]*listener.Listener, 0)
    	for _, l := range listenerDump.DynamicListeners {
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Wed Nov 29 12:37:14 UTC 2023
    - 18.1K bytes
    - Viewed (0)
Back to top