fix bug with incomplete cluster model when node is down,

improve various error messages
This commit is contained in:
2025-04-07 19:25:28 +00:00
parent cc35e38455
commit 2265a8e580
3 changed files with 34 additions and 9 deletions

View File

@@ -25,7 +25,7 @@ func Run() {
flag.Parse()
config := GetConfig(*configPath)
log.Println("Initialized config from " + *configPath)
log.Printf("Initialized config from %s", *configPath)
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)