From b36832e40c0b6ac068039ab02869ef67a0a20fc0 Mon Sep 17 00:00:00 2001
From: Liz Rice <liz@lizrice.com>
Date: Fri, 23 Jun 2017 09:58:46 +0100
Subject: [PATCH] Correct block-copy error in flanneld config directory

---
 cmd/common.go | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/cmd/common.go b/cmd/common.go
index 33ded89..c96893b 100644
--- a/cmd/common.go
+++ b/cmd/common.go
@@ -86,7 +86,7 @@ func runChecks(t check.NodeType) {
 	// Variable substitutions. Replace all occurrences of variables in controls file.
 	s := strings.Replace(string(in), "$kubeConfDir", viper.Get("kubeConfDir").(string), -1)
 	s = strings.Replace(s, "$etcdConfDir", viper.Get("etcdConfDir").(string), -1)
-	s = strings.Replace(s, "$flanneldConfDir", viper.Get("etcdConfDir").(string), -1)
+	s = strings.Replace(s, "$flanneldConfDir", viper.Get("flanneldConfDir").(string), -1)
 
 	controls := check.NewControls(t, []byte(s))
 
-- 
GitLab