From 928eba27534be4c3757e8516e7af7001bc42a67c Mon Sep 17 00:00:00 2001 From: Nurlan Moldomurov Date: Tue, 20 Feb 2024 15:57:48 +0300 Subject: [PATCH] PMM-12785 fix warning message from VM (#2824) --- managed/services/victoriametrics/victoriametrics.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/managed/services/victoriametrics/victoriametrics.go b/managed/services/victoriametrics/victoriametrics.go index 0a1b34db13..46ca0e3455 100644 --- a/managed/services/victoriametrics/victoriametrics.go +++ b/managed/services/victoriametrics/victoriametrics.go @@ -258,7 +258,7 @@ func (svc *Service) validateConfig(ctx context.Context, cfg []byte) error { } svc.l.Debugf("%s", b) - args = append(args, "-promscrape.config.strictParse", "true") + args = append(args, "-promscrape.config.strictParse=true") cmd = exec.CommandContext(ctx, "victoriametrics", args...) //nolint:gosec pdeathsig.Set(cmd, unix.SIGKILL)