Skip to content

Commit 3f4573c

Browse files
authored
Merge pull request #115 from bastelfreak/puppet4
replace validate_hash with assert_type
2 parents 6c3a101 + 6b737ef commit 3f4573c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

manifests/volume.pp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -141,7 +141,7 @@
141141
$hoh = parseyaml($yaml)
142142

143143
# safety check
144-
validate_hash($hoh)
144+
assert_type(Hash, $hoh)
145145
# we need to ensure that these are applied AFTER the volume is created
146146
# but BEFORE the volume is started
147147
$new_volume_defaults = {

0 commit comments

Comments
 (0)