minor refactoring
tronnet/workflows: Static Analysis -- Golang / static-go (push) Successful in 13s

This commit is contained in:
alu
2026-08-31 20:32:45 +00:00
parent 8b9c8c14d5
commit 30a4264bb1
8 changed files with 80 additions and 63 deletions
+1 -1
View File
@@ -48,7 +48,7 @@ func Run() {
SetupAPISessionStore(router, &Config)
// setup root api token
client, code, err := pve.NewClientFromAPIToken(Config.PVE)
client, code, err := pve.NewClientFromAPIToken(Config.PVE, Config.PVE.Token)
if err != nil {
log.Fatalf("error initializing pve root client: %d %s", code, err)
}