Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for TestApplyMeshConfigDefaults (0.2 sec)

  1. pkg/config/mesh/mesh_test.go

    	if err != nil {
    		t.Errorf("validation of default mesh config failed with %v", err)
    	}
    	if warn != nil {
    		t.Errorf("validation of default mesh config produced warnings: %v", warn)
    	}
    }
    
    func TestApplyMeshConfigDefaults(t *testing.T) {
    	configPath := "/test/config/patch"
    	yaml := fmt.Sprintf(`
    defaultConfig:
      configPath: %s
    `, configPath)
    
    	want := mesh.DefaultMeshConfig()
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Apr 17 20:06:41 UTC 2024
    - 11.7K bytes
    - Viewed (0)
Back to top