Skip to content

Commit

Permalink
(BugFix) Replace replace .is_hash with .is_a(Hash)
Browse files Browse the repository at this point in the history
  • Loading branch information
david22swan committed May 15, 2023
1 parent 542db12 commit 2126580
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion manifests/backend.pp
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,7 @@
if $picked_sort_options_alphabetic == false {
$_sort_options_alphabetic = $picked_sort_options_alphabetic
} else {
if $options.is_hash and 'option' in $options {
if $options.is_a(Hash) and 'option' in $options {
if ('httpchk' in $options['option']) {
warning('Overriding the value of $sort_options_alphabetic to "false" due to "httpchk" option defined')
$_sort_options_alphabetic = false
Expand Down

0 comments on commit 2126580

Please sign in to comment.