Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 41 for Nelson (0.16 sec)

  1. cmd/object-api-getobjectinfo_test.go

    		if err == nil && !testCase.shouldPass {
    			t.Errorf("Test %d: %s: Expected to fail with <ERROR> \"%s\", but passed instead", i+1, instanceType, testCase.err.Error())
    		}
    		// Failed as expected, but does it fail for the expected reason.
    		if err != nil && !testCase.shouldPass {
    			if testCase.err.Error() != err.Error() {
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Fri Dec 23 15:46:00 GMT 2022
    - 5.6K bytes
    - Viewed (0)
  2. istioctl/pkg/precheck/precheck.go

    	if err != nil {
    		return err
    	}
    
    	if !response.Status.Allowed {
    		if len(response.Status.Reason) > 0 {
    			return errors.New(response.Status.Reason)
    		}
    		return errors.New("permission denied")
    	}
    	return nil
    }
    
    func checkServerVersion(cli kube.CLIClient) (diag.Messages, error) {
    	v, err := cli.GetKubernetesVersion()
    Go
    - Registered: Wed May 01 22:53:12 GMT 2024
    - Last Modified: Fri Apr 12 02:57:30 GMT 2024
    - 19.3K bytes
    - Viewed (0)
  3. cmd/object-api-errors.go

    }
    
    // SlowDown  too many file descriptors open or backend busy .
    type SlowDown struct{}
    
    func (e SlowDown) Error() string {
    	return "Please reduce your request rate"
    }
    
    // RQErrType reason for read quorum error.
    type RQErrType int
    
    const (
    	// RQInsufficientOnlineDrives - not enough online drives.
    	RQInsufficientOnlineDrives RQErrType = 1 << iota
    	// RQInconsistentMeta - inconsistent metadata.
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Fri Apr 26 00:31:12 GMT 2024
    - 21.3K bytes
    - Viewed (0)
  4. internal/s3select/message.go

    	207, 151, 211, 146, // message crc.
    }
    
    // newErrorMessage - creates new Request Level Error Message. S3 sends this message if the request failed for any reason.
    // It contains the error code and error message for the failure. If S3 sends a RequestLevelError message,
    // it doesn't send an End message.
    //
    // Header specification:
    Go
    - Registered: Sun Apr 21 19:28:08 GMT 2024
    - Last Modified: Tue Aug 30 15:26:43 GMT 2022
    - 15.2K bytes
    - Viewed (0)
  5. cmd/api-errors.go

    				HTTPStatusCode: e.Code,
    			}
    			// GCS may send multiple errors, just pick the first one
    			// since S3 only sends one Error XML response.
    			if len(e.Errors) >= 1 {
    				apiErr.Code = e.Errors[0].Reason
    			}
    		case azblob.StorageError:
    			apiErr = APIError{
    				Code:           string(e.ServiceCode()),
    				Description:    e.Error(),
    				HTTPStatusCode: e.Response().StatusCode,
    			}
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Mon Apr 22 17:49:30 GMT 2024
    - 90.6K bytes
    - Viewed (6)
  6. cmd/server_test.go

    	c.Assert(err, nil)
    	// execute the HTTP request.
    	response3, err := s.client.Do(request)
    	c.Assert(err, nil)
    	c.Assert(response3.StatusCode, http.StatusOK)
    
    	// The reason to duplicate this structure here is to verify if the
    	// unmarshalling works from a client perspective, specifically
    	// while unmarshalling time.Time type for 'Initiated' field.
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Thu Feb 22 06:26:06 GMT 2024
    - 108K bytes
    - Viewed (0)
  7. cni/pkg/repair/repair_test_helpers.go

    				ExitCode: constants.ValidationErrorCode,
    				Reason:   "Error",
    				Message:  "Died for some reason",
    			},
    		},
    	}
    
    	brokenInitContainerTerminating = corev1.ContainerStatus{
    		Name: constants.ValidationContainerName,
    		State: corev1.ContainerState{
    			Terminated: &corev1.ContainerStateTerminated{
    				ExitCode: constants.ValidationErrorCode,
    				Reason:   "Error",
    				Message:  "Died for some reason",
    			},
    Go
    - Registered: Wed May 01 22:53:12 GMT 2024
    - Last Modified: Fri May 12 17:39:53 GMT 2023
    - 4.7K bytes
    - Viewed (0)
  8. tests/scan_test.go

    		if info.Person == nil {
    			t.Fatalf("Failed, expected not nil, got person nil")
    		}
    		if info.Address == nil {
    			t.Fatalf("Failed, expected not nil, got address nil")
    		}
    		if info.Person.ID == person1.ID {
    			personMatched = true
    			if info.Person.Name != person1.Name {
    				t.Errorf("Failed, expected %v, got %v", person1.Name, info.Person.Name)
    			}
    		}
    Go
    - Registered: Sun Apr 28 09:35:09 GMT 2024
    - Last Modified: Sat May 28 14:18:07 GMT 2022
    - 8.2K bytes
    - Viewed (0)
  9. tests/associations_test.go

    	"gorm.io/gorm/schema"
    	. "gorm.io/gorm/utils/tests"
    )
    
    func AssertAssociationCount(t *testing.T, data interface{}, name string, result int64, reason string) {
    	if count := DB.Model(data).Association(name).Count(); count != result {
    		t.Fatalf("invalid %v count %v, expects: %v got %v", name, reason, result, count)
    	}
    
    	var newUser User
    	if user, ok := data.(User); ok {
    		DB.Find(&newUser, "id = ?", user.ID)
    Go
    - Registered: Sun Apr 28 09:35:09 GMT 2024
    - Last Modified: Wed Feb 08 08:29:09 GMT 2023
    - 10.9K bytes
    - Viewed (0)
  10. cni/pkg/repair/repair_test.go

    			InitContainerStatus: &corev1.ContainerStatus{
    				Name: constants.ValidationContainerName,
    				State: corev1.ContainerState{
    					Waiting: &corev1.ContainerStateWaiting{
    						Reason:  "CrashLoopBackOff",
    						Message: "Back-off 5m0s restarting failed blah blah blah",
    					},
    				},
    				LastTerminationState: corev1.ContainerState{
    					Terminated: &corev1.ContainerStateTerminated{
    Go
    - Registered: Wed May 01 22:53:12 GMT 2024
    - Last Modified: Tue Oct 24 03:31:28 GMT 2023
    - 10.6K bytes
    - Viewed (0)
Back to top