Fixes Issue #538 (#539)

* Adds openshift to autodetect node type

* detect okd node units

* OCP fixes
This commit is contained in:
Roberto Rojas
2019-12-13 11:04:58 -05:00
committed by GitHub
parent 13193d75b0
commit 9fc13ca02e
4 changed files with 17 additions and 10 deletions

View File

@@ -29,12 +29,12 @@ var runCmd = &cobra.Command{
Run: func(cmd *cobra.Command, args []string) {
targets, err := cmd.Flags().GetStringSlice("targets")
if err != nil {
exitWithError(err)
exitWithError(fmt.Errorf("unable to get `targets` from command line :%v", err))
}
benchmarkVersion, err := getBenchmarkVersion(kubeVersion, benchmarkVersion, viper.GetViper())
if err != nil {
exitWithError(err)
exitWithError(fmt.Errorf("unable to get benchmark version. error: %v", err))
}
glog.V(2).Infof("Checking targets %v for %v", targets, benchmarkVersion)