Skip to content

Commit

Permalink
Update cmd/grafana-agent-service/config_windows.go
Browse files Browse the repository at this point in the history
Co-authored-by: Robert Fratto <[email protected]>
  • Loading branch information
jkroepke and rfratto authored Nov 14, 2023
1 parent 2e6ee3e commit 9a719e4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cmd/grafana-agent-service/config_windows.go
Original file line number Diff line number Diff line change
Expand Up @@ -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{
Expand Down

0 comments on commit 9a719e4

Please sign in to comment.