mirror of
https://github.com/rcourtman/Pulse.git
synced 2026-05-13 06:56:06 +00:00
The agent's CurrentVersion includes the "v" prefix (e.g., "v4.33.1") but the server's /api/agent/version endpoint returns versions without it (e.g., "4.33.1"). This caused the comparison to always fail, triggering an infinite self-update loop every 30 seconds. Normalize both versions by stripping the "v" prefix before comparison. Related to #740 |
||
|---|---|---|
| .. | ||
| update.go | ||
| update_test.go | ||