Skip to content

Commit

Permalink
test
Browse files Browse the repository at this point in the history
  • Loading branch information
asenci committed Feb 19, 2022
1 parent 0538781 commit 8bbabcb
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion manifests/integrations/http_check.pp
Original file line number Diff line number Diff line change
Expand Up @@ -241,7 +241,7 @@
$_instances = $instances
}

$instances_array = datadog_agent::clean_empty($_instances).map |$instance| {
$instances_array = $_instances.map |$instance| {
Hash($instance.map |$key, $value| {
case $key {
'sitename': {
Expand All @@ -264,6 +264,10 @@
Tuple([$key, datadog_agent::clean_empty($value_hash)])
}

'tags': {
Tuple([$key, datadog_agent::clean_empty($value)])
}

default: {
Tuple([$key, $value])
}
Expand Down

0 comments on commit 8bbabcb

Please sign in to comment.