From 46a72a7600e905ca22e59b7050aead6d0ba17be8 Mon Sep 17 00:00:00 2001 From: rcourtman Date: Mon, 1 Dec 2025 12:03:05 +0000 Subject: [PATCH] Fix outdated error message path for removed Docker hosts The error message referenced "Settings -> Docker -> Removed hosts" but that UI path no longer exists. The correct path is now "Settings -> Agents -> Removed Docker Hosts". Related to #778 --- internal/monitoring/monitor.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/internal/monitoring/monitor.go b/internal/monitoring/monitor.go index d0d33c6..ae4515c 100644 --- a/internal/monitoring/monitor.go +++ b/internal/monitoring/monitor.go @@ -1384,7 +1384,7 @@ func (m *Monitor) ApplyDockerReport(report agentsdocker.Report, tokenRecord *con Str("dockerHostID", identifier). Time("removedAt", removedAt). Msg("Rejecting report from deliberately removed Docker host") - return models.DockerHost{}, fmt.Errorf("docker host %q was removed at %v and cannot report again. Use Allow re-enroll in Settings -> Docker -> Removed hosts or rerun the installer with a docker:manage token to clear this block", identifier, removedAt.Format(time.RFC3339)) + return models.DockerHost{}, fmt.Errorf("docker host %q was removed at %v and cannot report again. Use Allow re-enroll in Settings -> Agents -> Removed Docker Hosts or rerun the installer with a docker:manage token to clear this block", identifier, removedAt.Format(time.RFC3339)) } // Enforce token uniqueness: each token can only be bound to one agent