minor refactor of config values, update go mod

This commit is contained in:
2026-04-04 22:27:11 +00:00
parent b74696f566
commit 99bb5f0691
3 changed files with 9 additions and 9 deletions

View File

@@ -27,7 +27,7 @@ func Run() {
config := GetConfig(*configPath)
log.Printf("[INFO] initialized config from %s", *configPath)
token := fmt.Sprintf(`%s@%s!%s`, config.PVE.Token.USER, config.PVE.Token.REALM, config.PVE.Token.ID)
token := fmt.Sprintf(`%s@%s!%s`, config.PVE.Token.User, config.PVE.Token.Realm, config.PVE.Token.ID)
client = NewClient(config.PVE.URL, token, config.PVE.Token.Secret)
router := gin.Default()