We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent d62d6a7 commit 2ce39afCopy full SHA for 2ce39af
manifests/integrations/http_check.pp
@@ -235,7 +235,7 @@
235
'contact' => $contact,
236
'ca_certs' => $ca_certs,
237
}]
238
- } elsif !$instances{
+ } elsif !$instances {
239
$_instances = []
240
} else {
241
$_instances = $instances
@@ -251,7 +251,7 @@
251
'data', 'headers': {
252
$_value = datadog_agent::clean_empty($value)
253
if !$_value.is_a(Array) {
254
- Tuple([$key, $_value]).next
+ Tuple([$key, $_value])
255
}
256
257
$value_array = $_value.filter |$item| { $item =~ /:/ }
@@ -271,7 +271,8 @@
271
272
273
default: {
274
- Tuple([$key, $value]) }
+ Tuple([$key, $value])
275
+ }
276
277
})
278
0 commit comments