This commit is contained in:
2024-05-30 00:05:06 +03:00
parent 4992a8e48a
commit d4db0cd840
5 changed files with 11 additions and 10 deletions

View File

@@ -17,7 +17,6 @@ func main() {
flag.StringVar(&configPath, "c", "/etc/kube-forge/config.yaml", "Path to config file")
flag.StringVar(&workDir, "d", "/var/lib/kube-forge", "Path to kube-forge work dir")
flag.BoolVar(&verbose, "v", false, "Enable verbose logging")
fmt.Println(verbose)
flag.Parse()
config := config.CreateConfig(configPath, workDir, password)
config.Verbose = verbose