Skip to content

Commit

Permalink
[windows] Fix APM loader to write "Main" section (section name is case (
Browse files Browse the repository at this point in the history
#881)

sensitive)
  • Loading branch information
derekwbrown authored Nov 30, 2017
1 parent bf47891 commit 589e145
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cmd/agent/app/dependent_services_windows.go
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ func apmInit() error {
iniFile = ini.Empty()
}
// this will create the section if it's not there
main := iniFile.Section("main")
main := iniFile.Section("Main")
k, err := main.GetKey("api_key")
if err != nil {
log.Warnf("API key not found in trace-agent.conf, adding")
Expand Down

0 comments on commit 589e145

Please sign in to comment.