summaryrefslogtreecommitdiff
path: root/functions/repack.pp
diff options
context:
space:
mode:
Diffstat (limited to 'functions/repack.pp')
-rw-r--r--functions/repack.pp4
1 files changed, 2 insertions, 2 deletions
diff --git a/functions/repack.pp b/functions/repack.pp
index a4b7815..1835fa7 100644
--- a/functions/repack.pp
+++ b/functions/repack.pp
@@ -2,8 +2,8 @@
function networking::repack(Hash[String,Variant[Hash, Array[Hash]]] $data) >> Hash[String, Array[Hash]] {
$data.map |$key, $body| {
[$key, $body ? {
- Hash => [$body],
- default => $body,
+ Hash => [$body],
+ default => $body,
}]
}.convert_to(Hash)
}