Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for MigrateOldConfig (0.25 sec)

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

    				return errors.New("the --old-config flag is mandatory")
    			}
    
    			oldCfgBytes, err := os.ReadFile(oldCfgPath)
    			if err != nil {
    				return err
    			}
    
    			outputBytes, err := configutil.MigrateOldConfig(oldCfgBytes, allowExperimental, nil)
    			if err != nil {
    				return err
    			}
    
    			if newCfgPath == "" {
    				fmt.Fprint(out, string(outputBytes))
    			} else {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 29 06:58:01 UTC 2024
    - 18.9K bytes
    - Viewed (0)
Back to top