Remove the old lines of fmt.Sprintf in cmd/common.go

pull/100/head
Philippe ALEXANDRE 6 years ago
parent d6c16f7563
commit f091c8adea

@ -48,10 +48,8 @@ func runChecks(t check.NodeType) {
}
ver := getKubeVersion()
// path := fmt.Sprintf("%s/%s", cfgDir, ver)
path := filepath.Join(cfgDir, ver)
// def := fmt.Sprintf("%s/%s", path, file)
def := filepath.Join(path, file)
in, err := ioutil.ReadFile(def)

Loading…
Cancel
Save