From 3d395994b02f3c51301449d85aa0c70b56aa0bc9 Mon Sep 17 00:00:00 2001
From: Abubakr-Sadik Nii Nai Davis <dwa2pac@gmail.com>
Date: Thu, 13 Jul 2017 00:24:57 +0000
Subject: [PATCH] Change environment variable prefix.

---
 cmd/root.go | 4 +---
 1 file changed, 1 insertion(+), 3 deletions(-)

diff --git a/cmd/root.go b/cmd/root.go
index 055e0c7..5429c2c 100644
--- a/cmd/root.go
+++ b/cmd/root.go
@@ -95,11 +95,9 @@ func initConfig() {
 		viper.AddConfigPath(cfgDir)   // adding ./cfg as first search path
 	}
 
-	viper.SetEnvPrefix("CISK8S")
+	viper.SetEnvPrefix("KUBE_BENCH")
 	viper.AutomaticEnv() // read in environment variables that match
 
-	// Set defaults
-
 	// If a config file is found, read it in.
 	if err := viper.ReadInConfig(); err != nil {
 		colorPrint(check.FAIL, fmt.Sprintf("Failed to read config file: %v\n", err))
-- 
GitLab