From 2f079fd74fb8cefbb437578390707f53b9a160fc Mon Sep 17 00:00:00 2001 From: Jason Staack Date: Thu, 19 Mar 2026 13:16:18 -0500 Subject: [PATCH] docs(poller): clarify RouterOS API protocol version in PollDevice comment Co-Authored-By: Claude Opus 4.6 (1M context) --- poller/internal/poller/worker.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/poller/internal/poller/worker.go b/poller/internal/poller/worker.go index be933ff..c9cf1f9 100644 --- a/poller/internal/poller/worker.go +++ b/poller/internal/poller/worker.go @@ -58,7 +58,7 @@ func withTimeout[T any](ctx context.Context, fn func() (T, error)) (T, error) { // PollDevice performs a single poll cycle for one device: // 1. Acquire distributed Redis lock to prevent duplicate polls across pods. // 2. Decrypt device credentials. -// 3. Attempt TLS connection to the RouterOS binary API. +// 3. Attempt TLS connection to the RouterOS binary API (sentence protocol v6.43+). // 4. On failure: publish offline event, return ErrDeviceOffline. // 5. On success: run /system/resource/print, publish online event with metadata. // 6. Collect interface, health, and wireless metrics; publish as separate events.