Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for parseStorageClass (0.11 sec)

  1. internal/config/storageclass/storage-class_test.go

    		},
    		{
    			"AB",
    			StorageClass{
    				Parity: 4,
    			},
    			errors.New("Too few sections in AB"),
    		},
    	}
    	for i, tt := range tests {
    		gotSc, err := parseStorageClass(tt.storageClassEnv)
    		if err != nil && tt.expectedError == nil {
    			t.Errorf("Test %d, Expected %s, got %s", i+1, tt.expectedError, err)
    			return
    		}
    		if err == nil && tt.expectedError != nil {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Aug 15 23:04:20 UTC 2023
    - 4.3K bytes
    - Viewed (0)
Back to top