Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for DELETE (0.12 sec)

  1. cni/pkg/install/cniconfig.go

    	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
    		delete(existingMap, "cniVersion")
    
    		plugins := make([]map[string]any, 2)
    		plugins[0] = existingMap
    		plugins[1] = istioMap
    
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Fri Jan 26 20:34:28 GMT 2024
    - 10.4K bytes
    - Viewed (0)
Back to top