Skip to content
Snippets Groups Projects
Commit 64aaef79 authored by Abubakr-Sadik Nii Nai Davis's avatar Abubakr-Sadik Nii Nai Davis
Browse files

Fixed expected return for getKubeVersion.

parent 53eb7209
No related branches found
No related tags found
No related merge requests found
......@@ -47,7 +47,7 @@ func runChecks(t check.NodeType) {
}
ver := getKubeVersion()
path := fmt.Sprintf("%s/%s", cfgDir, ver.Server)
path := fmt.Sprintf("%s/%s", cfgDir, ver)
def := fmt.Sprintf("%s/%s", path, file)
in, err := ioutil.ReadFile(def)
......@@ -59,7 +59,7 @@ func runChecks(t check.NodeType) {
viper.SetConfigFile(path + "/config.yaml")
err = viper.MergeInConfig()
if err != nil {
continueWithError(err, fmt.Sprintf("Reading %s specific configuration file", ver.Server))
continueWithError(err, fmt.Sprintf("Reading %s specific configuration file", ver))
}
typeConf = viper.Sub(nodetype)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment