Skip to content
Snippets Groups Projects
Commit f091c8ad authored by Philippe ALEXANDRE's avatar Philippe ALEXANDRE
Browse files

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

parent d6c16f75
No related branches found
No related tags found
No related merge requests found
...@@ -48,10 +48,8 @@ func runChecks(t check.NodeType) { ...@@ -48,10 +48,8 @@ func runChecks(t check.NodeType) {
} }
ver := getKubeVersion() ver := getKubeVersion()
// path := fmt.Sprintf("%s/%s", cfgDir, ver)
path := filepath.Join(cfgDir, ver) path := filepath.Join(cfgDir, ver)
// def := fmt.Sprintf("%s/%s", path, file)
def := filepath.Join(path, file) def := filepath.Join(path, file)
in, err := ioutil.ReadFile(def) in, err := ioutil.ReadFile(def)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment