Tweak config and git urls

This commit is contained in:
Thomas Miceli
2023-04-07 01:52:56 +02:00
parent b606b67d43
commit eeebc7c789
7 changed files with 117 additions and 103 deletions

View File

@ -14,6 +14,8 @@ import (
)
func initialize() {
fmt.Println("Opengist v" + config.OpengistVersion)
configPath := flag.String("config", "config.yml", "Path to a config file in YML format")
flag.Parse()
absolutePath, _ := filepath.Abs(*configPath)
@ -27,9 +29,6 @@ func initialize() {
config.InitLog()
fmt.Println("Opengist v" + config.OpengistVersion)
fmt.Println("Using config file: " + absolutePath)
gitVersion, err := git.GetGitVersion()
if err != nil {
log.Fatal().Err(err).Send()