From 9a719e457a310781c96f3777520bf1576cd8c1f8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jan-Otto=20Kr=C3=B6pke?= Date: Tue, 14 Nov 2023 22:27:37 +0100 Subject: [PATCH] Update cmd/grafana-agent-service/config_windows.go Co-authored-by: Robert Fratto --- cmd/grafana-agent-service/config_windows.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cmd/grafana-agent-service/config_windows.go b/cmd/grafana-agent-service/config_windows.go index d9b191df5e0a..479942a2aa33 100644 --- a/cmd/grafana-agent-service/config_windows.go +++ b/cmd/grafana-agent-service/config_windows.go @@ -48,7 +48,7 @@ func loadConfig() (*config, error) { env, _, err := agentKey.GetStringsValue("Environment") if err != nil { - return nil, fmt.Errorf("failed to retrieve key Arguments: %w", err) + return nil, fmt.Errorf("failed to retrieve key Environment: %w", err) } return &config{