(fileName string, err error)
| 504 | } |
| 505 | |
| 506 | func wrapCNIError(fileName string, err error) error { |
| 507 | return fmt.Errorf("failed marshalling json out of network configuration file %q: %w\n"+ |
| 508 | "For details on the schema, see https://pkg.go.dev/github.com/containernetworking/cni/libcni#NetworkConfigList", fileName, err) |
| 509 | } |
| 510 | |
| 511 | func cniLoad(fileNames []string) (configList []*NetworkConfig, err error) { |
| 512 | var fileName string |
no outgoing calls
no test coverage detected
searching dependent graphs…