Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for TestNormalizedImageName (0.47 sec)

  1. pkg/scheduler/framework/plugins/imagelocality/image_locality_test.go

    			}
    
    			if diff := cmp.Diff(test.expectedList, gotList); diff != "" {
    				t.Errorf("Unexpected node score list (-want, +got):\n%s", diff)
    			}
    		})
    	}
    }
    
    func TestNormalizedImageName(t *testing.T) {
    	for _, testCase := range []struct {
    		Name   string
    		Input  string
    		Output string
    	}{
    		{Name: "add :latest postfix 1", Input: "root", Output: "root:latest"},
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Feb 19 06:17:57 UTC 2024
    - 10.3K bytes
    - Viewed (0)
Back to top