Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for IPSetError (0.1 sec)

  1. cni/pkg/ipset/nldeps_linux.go

    	// Note there appears to be a bug in vishvananda/netlink here:
    	// https://github.com/vishvananda/netlink/issues/992
    	//
    	// The "right" way to do this is:
    	// if err == nl.IPSetError(nl.IPSET_ERR_EXIST) {
    	// 	log.Debugf("ignoring ipset err")
    	// 	return nil
    	// }
    	// but that doesn't actually work, so strings.Contains the error.
    	if err != nil && strings.Contains(err.Error(), "exists") {
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Thu Jul 18 23:53:18 UTC 2024
    - 4.1K bytes
    - Viewed (0)
Back to top