Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for ValidateKubeletFlags (0.16 sec)

  1. cmd/kubelet/app/options/options_test.go

    		t.Run(tt.name, func(t *testing.T) {
    			err := ValidateKubeletFlags(&KubeletFlags{
    				ContainerRuntimeOptions: config.ContainerRuntimeOptions{},
    				NodeLabels:              tt.labels,
    			})
    
    			if tt.error && err == nil {
    				t.Errorf("ValidateKubeletFlags should have failed with labels: %+v", tt.labels)
    			}
    
    			if !tt.error && err != nil {
    				t.Errorf("ValidateKubeletFlags should not have failed with labels: %+v", tt.labels)
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 12 15:48:03 UTC 2023
    - 5.3K bytes
    - Viewed (0)
Back to top