Skip to content

Commit

Permalink
Update libbeat/cfgfile/cfgfile.go
Browse files Browse the repository at this point in the history
Co-authored-by: Tiago Queiroz <me@tiago.life>
  • Loading branch information
leehinman and belimawr authored Oct 18, 2024
1 parent c2f8a09 commit 20e1daf
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions libbeat/cfgfile/cfgfile.go
Original file line number Diff line number Diff line change
Expand Up @@ -56,8 +56,8 @@ func Initialize() {
"path": map[string]interface{}{
"home": ".", // to be initialized by beat
"config": "${path.home}",
"data": fmt.Sprint("${path.home}", string(os.PathSeparator), "data"),
"logs": fmt.Sprint("${path.home}", string(os.PathSeparator), "logs"),
"data": filepath.Join("${path.home}", "data"),
"logs": filepath.Join("${path.home}", "logs"),
},
})
homePath = config.ConfigOverwriteFlag(nil, overwrites, "path.home", "path.home", "", "Home path")
Expand Down

0 comments on commit 20e1daf

Please sign in to comment.