Skip to content

Commit 8fb3de8

Browse files
oranenjekohl
andauthored
Properly document jira::sorted_hash as private
Co-authored-by: Ewoud Kohl van Wijngaarden <ewoud@kohlvanwijngaarden.nl>
1 parent d4007c1 commit 8fb3de8

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

functions/sort_hash.pp

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,6 @@
1-
function jira::sort_hash(Hash $input) {
1+
# @summary Return a sorted hash
2+
# @api private
3+
function jira::sort_hash(Hash $input) >> Hash {
24
# Puppet hashes are "insertion order", so this works to sort by key
35
Hash(sort(Array($input)))
46
}

0 commit comments

Comments
 (0)