feat: update agent button on server page

This commit is contained in:
domrichardson
2026-06-24 14:33:17 +01:00
parent 7cb4592fa3
commit 56a0be15a8
4 changed files with 122 additions and 11 deletions
+1 -1
View File
@@ -33,7 +33,7 @@ func main() {
defer stop()
log.Printf("keymanager-agent %s starting (server=%s, poll=%s)", Version, cfg.ServerURL, cfg.PollInterval)
if err := agentsync.Run(ctx, cfg); err != nil {
if err := agentsync.Run(ctx, cfg, Version); err != nil {
log.Fatalf("agent error: %v", err)
}
}