Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 63 for Kissling (0.14 sec)

  1. tests/update_test.go

    }
    
    func TestBlockGlobalUpdate(t *testing.T) {
    	if err := DB.Model(&User{}).Update("name", "jinzhu").Error; err == nil || !errors.Is(err, gorm.ErrMissingWhereClause) {
    		t.Errorf("should returns missing WHERE clause while updating error, got err %v", err)
    	}
    
    	if err := DB.Session(&gorm.Session{AllowGlobalUpdate: true}).Model(&User{}).Update("name", "jinzhu").Error; err != nil {
    Go
    - Registered: Sun May 05 09:35:13 GMT 2024
    - Last Modified: Mon Dec 04 03:50:58 GMT 2023
    - 30.3K bytes
    - Viewed (0)
  2. cmd/data-scanner.go

    			bucket, prefix := path2BucketObject(k)
    			stopFn := globalScannerMetrics.time(scannerMetricCheckMissing)
    			f.updateCurrentPath(k)
    
    			if bucket != resolver.bucket {
    				// Bucket might be missing as well with abandoned children.
    				// make sure it is created first otherwise healing won't proceed
    				// for objects.
    				bgSeq.queueHealTask(healSource{
    					bucket: bucket,
    				}, madmin.HealItemBucket)
    			}
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri May 03 11:18:58 GMT 2024
    - 47.6K bytes
    - Viewed (0)
  3. cmd/bucket-replication-handlers.go

    			TargetArn: arn,
    		})
    
    	if len(tgtArns) == 0 {
    		writeErrorResponseJSON(ctx, w, errorCodes.ToAPIErrWithErr(ErrBadRequest, InvalidArgument{
    			Bucket: bucket,
    			Err:    fmt.Errorf("Remote target ARN %s missing or ineligible for replication resync", arn),
    		}), r.URL)
    		return
    	}
    
    	if len(tgtArns) > 1 && arn == "" {
    		writeErrorResponseJSON(ctx, w, errorCodes.ToAPIErrWithErr(ErrBadRequest, InvalidArgument{
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sat Oct 28 04:08:53 GMT 2023
    - 23.2K bytes
    - Viewed (0)
  4. cmd/endpoint_test.go

    		{"http://server:8080/", Endpoint{}, -1, fmt.Errorf("empty or root path is not supported in URL endpoint")},
    		{"192.168.1.210:9000", Endpoint{}, -1, fmt.Errorf("invalid URL endpoint format: missing scheme http or https")},
    	}
    
    	for i, test := range testCases {
    		t.Run(fmt.Sprint("case-", i), func(t *testing.T) {
    			endpoint, err := NewEndpoint(test.arg)
    			if err == nil {
    				err = endpoint.UpdateIsLocal()
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sat Jan 13 07:53:03 GMT 2024
    - 18.9K bytes
    - Viewed (1)
  5. cmd/endpoint.go

    			return ep, fmt.Errorf("invalid URL endpoint format")
    		}
    
    		var port string
    		host, port, err = net.SplitHostPort(u.Host)
    		if err != nil {
    			if !strings.Contains(err.Error(), "missing port in address") {
    				return ep, fmt.Errorf("invalid URL endpoint format: %w", err)
    			}
    
    			host = u.Host
    		} else {
    			var p int
    			p, err = strconv.Atoi(port)
    			if err != nil {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sun Apr 21 11:43:18 GMT 2024
    - 34.1K bytes
    - Viewed (0)
  6. internal/s3select/unused-errors.go

    		statusCode: 400,
    		cause:      err,
    	}
    }
    
    func errMissingHeaders(err error) *s3Error {
    	return &s3Error{
    		code:       "MissingHeaders",
    		message:    "Some headers in the query are missing from the file. Check the file and try again.",
    		statusCode: 400,
    		cause:      err,
    	}
    }
    
    func errUnrecognizedFormatException(err error) *s3Error {
    	return &s3Error{
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Tue Feb 20 08:16:35 GMT 2024
    - 17.5K bytes
    - Viewed (0)
  7. cni/pkg/repair/repaircontroller.go

    	if uid, f := c.repairedPods[key]; f {
    		if uid == pod.UID {
    			log.Debugf("Skipping pod, already repaired")
    		} else {
    			// This is unexpected, bubble up to an error. Might be missing event, or invalid assumption in our code.
    			// Either way, we will skip.
    			log.Errorf("Skipping pod, already repaired with an unexpected UID %v vs %v", uid, pod.UID)
    		}
    		return nil
    	}
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Sat Feb 10 00:31:55 GMT 2024
    - 10.4K bytes
    - Viewed (0)
  8. internal/logger/target/http/http.go

    	// like : Splunk HTTP Event collector, if you are unsure
    	// set this to '1'.
    	batchSize   int
    	payloadType string
    
    	// store to persist and replay the logs to the target
    	// to avoid missing events when the target is down.
    	store          store.Store[interface{}]
    	storeCtxCancel context.CancelFunc
    
    	initQueueOnce once.Init
    
    	config Config
    	client *http.Client
    }
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Mon Mar 25 16:44:20 GMT 2024
    - 14.9K bytes
    - Viewed (0)
  9. istioctl/pkg/waypoint/waypoint.go

    				Force:        nil,
    				FieldManager: "istioctl",
    			})
    			if err != nil {
    				if errors.IsNotFound(err) {
    					return fmt.Errorf("missing Kubernetes Gateway CRDs need to be installed before applying a waypoint: %s", err)
    				}
    				return err
    			}
    			if waitReady {
    				startTime := time.Now()
    				ticker := time.NewTicker(1 * time.Second)
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Wed May 08 19:45:58 GMT 2024
    - 15.5K bytes
    - Viewed (0)
  10. src/cmd/cgo/ast.go

    		return
    	}
    	for _, c := range n.Doc.List {
    		if !strings.HasPrefix(c.Text, "//export ") {
    			continue
    		}
    
    		name := strings.TrimSpace(c.Text[9:])
    		if name == "" {
    			error_(c.Pos(), "export missing name")
    		}
    
    		if name != n.Name.Name {
    			error_(c.Pos(), "export comment has wrong name %q, want %q", name, n.Name.Name)
    		}
    
    		doc := ""
    		for _, c1 := range n.Doc.List {
    			if c1 != c {
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Wed Jun 07 16:54:27 GMT 2023
    - 14.3K bytes
    - Viewed (0)
Back to top