Adding logs and fixing several issues (#162)

* Config grooming and several general fixes
This commit is contained in:
Igor Gov
2021-08-04 08:18:07 +03:00
committed by GitHub
parent 1e726e381b
commit 9e34662511
8 changed files with 121 additions and 95 deletions

View File

@@ -1,5 +1,10 @@
package mizu
import (
"os"
"path"
)
var (
SemVer = "0.0.1"
Branch = "develop"
@@ -18,3 +23,11 @@ const (
TapperDaemonSetName = "mizu-tapper-daemon-set"
TapperPodName = "mizu-tapper"
)
func getMizuFolderPath() string {
home, homeDirErr := os.UserHomeDir()
if homeDirErr != nil {
return ""
}
return path.Join(home, ".mizu")
}