diff --git a/agent/logs_agent.go b/agent/logs_agent.go index 6cf1345..ccdb1c2 100644 --- a/agent/logs_agent.go +++ b/agent/logs_agent.go @@ -156,7 +156,7 @@ func (a *Agent) startLogAgent() { endpoints, err := BuildEndpoints(intakeTrackType, AgentJSONIntakeProtocol, logsconfig.DefaultIntakeOrigin) if err != nil { message := fmt.Sprintf("Invalid endpoints: %v", err) - status.AddGlobalError(invalidProcessingRules, message) + status.AddGlobalError("invalid endpoints", message) log.Println("E!", errors.New(message)) return }