diff options
author | Hugo Hörnquist <hugo@lysator.liu.se> | 2023-09-27 07:04:40 +0200 |
---|---|---|
committer | Hugo Hörnquist <hugo@lysator.liu.se> | 2023-09-27 07:04:40 +0200 |
commit | 177cb57f4fc06ebaecace262d3dbd1e417f5cce0 (patch) | |
tree | 4e52839140e1cde57682530720f60a88f1b0a235 /functions | |
parent | Clarify choice of reload method. (diff) | |
download | networking-177cb57f4fc06ebaecace262d3dbd1e417f5cce0.tar.gz networking-177cb57f4fc06ebaecace262d3dbd1e417f5cce0.tar.xz |
Convert to PDK, and fix easy linter errors.
Diffstat (limited to 'functions')
-rw-r--r-- | functions/repack.pp | 4 |
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) } |