Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for checkReasons (0.39 sec)

  1. pkg/scheduler/framework/plugins/volumebinding/binder_test.go

    		case ErrReasonNotEnoughSpace:
    			varNames = append(varNames, "ErrReasonNotEnoughSpace")
    		default:
    			varNames = append(varNames, string(reason))
    		}
    	}
    	return fmt.Sprintf("%v", varNames)
    }
    
    func checkReasons(t *testing.T, actual, expected ConflictReasons) {
    	equal := len(actual) == len(expected)
    	sort.Sort(actual)
    	sort.Sort(expected)
    	if equal {
    		for i, reason := range actual {
    			if reason != expected[i] {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Apr 25 09:46:58 UTC 2024
    - 82.8K bytes
    - Viewed (0)
Back to top