Skip to content

Commit

Permalink
Merge pull request #551 from puppetlabs/CONT-966/main/is_a(Hash)
Browse files Browse the repository at this point in the history
(CONT-966) Replace replace `.is_hash` with `.is_a(Hash)`
  • Loading branch information
jordanbreen28 committed May 15, 2023
2 parents 88003ed + 5622215 commit a26af30
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 a26af30

Please sign in to comment.