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
This commit is contained in:
parent
827a8b4d37
commit
46a72a7600
1 changed files with 1 additions and 1 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in a new issue