We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent d62d6a7 commit 2fff883Copy full SHA for 2fff883
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
@@ -254,7 +254,6 @@
254
Tuple([$key, $_value]).next
255
}
256
257
- $value_array = $_value.filter |$item| { $item =~ /:/ }
258
$value_hash = Hash($_value.map |$item| {
259
$_item = $item.split(':')
260
$i_key = $_item[0].rstrip
@@ -271,7 +270,8 @@
271
270
272
273
default: {
274
- Tuple([$key, $value]) }
+ Tuple([$key, $value])
+ }
275
276
})
277
0 commit comments