Skip to content

Commit a26af30

Browse files
Merge pull request #551 from puppetlabs/CONT-966/main/is_a(Hash)
(CONT-966) Replace replace `.is_hash` with `.is_a(Hash)`
2 parents 88003ed + 5622215 commit a26af30

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

manifests/backend.pp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -109,7 +109,7 @@
109109
if $picked_sort_options_alphabetic == false {
110110
$_sort_options_alphabetic = $picked_sort_options_alphabetic
111111
} else {
112-
if $options.is_hash and 'option' in $options {
112+
if $options.is_a(Hash) and 'option' in $options {
113113
if ('httpchk' in $options['option']) {
114114
warning('Overriding the value of $sort_options_alphabetic to "false" due to "httpchk" option defined')
115115
$_sort_options_alphabetic = false

0 commit comments

Comments
 (0)