Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for existingMap (0.17 sec)

  1. cni/pkg/install/cniconfig.go

    	}
    
    	var existingMap map[string]any
    	err = json.Unmarshal(existingCNIConfig, &existingMap)
    	if err != nil {
    		return nil, fmt.Errorf("error loading existing CNI config (JSON error): %v", err)
    	}
    
    	delete(istioMap, "cniVersion")
    
    	var newMap map[string]any
    
    	if _, ok := existingMap["type"]; ok {
    		// Assume it is a regular network conf file
    Go
    - Registered: Wed Apr 24 22:53:08 GMT 2024
    - Last Modified: Fri Jan 26 20:34:28 GMT 2024
    - 10.4K bytes
    - Viewed (0)
Back to top