Commit 29b27080 authored by Daniel Nardo's avatar Daniel Nardo

Add comment to setupCNI.

parent 4e458ce0
...@@ -61,6 +61,9 @@ func setupCNI(host, workspace string) error { ...@@ -61,6 +61,9 @@ func setupCNI(host, workspace string) error {
return fmt.Errorf("failed to install cni plugin on %q: %v output: %q", host, err, output) return fmt.Errorf("failed to install cni plugin on %q: %v output: %q", host, err, output)
} }
// The added CNI network config is not needed for kubenet. It is only
// used when testing the CNI network plugin, but is added in both cases
// for consistency and simplicity.
glog.V(2).Infof("Adding CNI configuration on %q", host) glog.V(2).Infof("Adding CNI configuration on %q", host)
cniConfigPath := filepath.Join(workspace, cniConfDirectory) cniConfigPath := filepath.Join(workspace, cniConfDirectory)
cmd = getSSHCommand(" ; ", cmd = getSSHCommand(" ; ",
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment