From c451c053de9cfb8bd691877342e361f26f394f7f Mon Sep 17 00:00:00 2001 From: Aphral Griffin Date: Wed, 2 Oct 2024 11:51:07 +0100 Subject: [PATCH] set treat warnings as errors default to false --- internal/config/defaults.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/internal/config/defaults.go b/internal/config/defaults.go index 589e1f08ed..743a0ce4d5 100644 --- a/internal/config/defaults.go +++ b/internal/config/defaults.go @@ -14,7 +14,7 @@ import ( const ( DefGracefulShutdownPeriod = 5 * time.Second DefNginxReloadMonitoringPeriod = 10 * time.Second - DefTreatErrorsAsWarnings = true + DefTreatErrorsAsWarnings = false DefCollectorConfigPath = "/etc/nginx-agent/opentelemetry-collector-agent.yaml" DefCollectorLogLevel = "INFO"