Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for BytesToInitConfiguration (0.46 sec)

  1. cmd/kubeadm/app/util/config/initconfiguration_test.go

    			b, err := yaml.Marshal(tc.cfg)
    			if err != nil {
    				t.Fatalf("unexpected error while marshalling to YAML: %v", err)
    			}
    
    			cfg, err := BytesToInitConfiguration(b, true)
    			if err != nil {
    				t.Fatalf("unexpected error of BytesToInitConfiguration: %v\nconfig: %s", err, string(b))
    			}
    
    			if tc.expectedTaintCnt != len(cfg.NodeRegistration.Taints) {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Oct 13 09:17:03 UTC 2023
    - 5.2K bytes
    - Viewed (0)
Back to top