From 29b2708046cae5f8e477084bac23726ed86844e5 Mon Sep 17 00:00:00 2001 From: Daniel Nardo Date: Thu, 13 Apr 2017 15:11:24 -0700 Subject: [PATCH] Add comment to setupCNI. --- test/e2e_node/remote/utils.go | 3 +++ 1 file changed, 3 insertions(+) diff --git a/test/e2e_node/remote/utils.go b/test/e2e_node/remote/utils.go index 396b04b8c49..8a5311c4f6b 100644 --- a/test/e2e_node/remote/utils.go +++ b/test/e2e_node/remote/utils.go @@ -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) } + // 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) cniConfigPath := filepath.Join(workspace, cniConfDirectory) cmd = getSSHCommand(" ; ",