minor refactor of config values, update go mod

This commit is contained in:
alu committed 2026-04-04 22:27:11 +00:00
1 parent b74696f566
commit 99bb5f0691
3 files changed
+9 -9

No files matched your search

+1 -1
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()