Skip to content

Commit

Permalink
Merge pull request #41 from sasubillis/master
Browse files Browse the repository at this point in the history
fixing fields_under_root issue
  • Loading branch information
corey-hammerton authored Feb 17, 2020
2 parents 42c5bed + 2afbe46 commit 0b9c772
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions manifests/config.pp
Original file line number Diff line number Diff line change
Expand Up @@ -15,11 +15,7 @@

# if fields are "under root", then remove prefix
if $metricbeat::fields_under_root == true {
if $metricbeat::fields_under_root == true {
$fields_tmp = $metricbeat::fields.each | $key, $value | { {$key => $value} }
} else {
$fields_tmp = $metricbeat::fields
}
} else {
$fields_tmp = $metricbeat::fields
}
Expand Down

0 comments on commit 0b9c772

Please sign in to comment.