Skip to content

Commit 915fc7f

Browse files
Merge pull request #105 from puppetlabs/maint-dig-fix
(maint) Remove space in dig call
2 parents beb3f33 + f1b4430 commit 915fc7f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tasks/patch_server.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -453,7 +453,7 @@ def run_pre_post_patching_script(scriptpath, pre_or_post, starttime, log = nil)
453453
# - For Linux, each package must exist in package_updates. Note that on RedHat package_updates
454454
# entries include architecture (e.g. 'foo-libs.x86_64') so factor this into the check.
455455
if facts.dig('values', 'os', 'family') == 'windows'
456-
missing_update_kbs = facts.dig ('values', 'pe_patch', 'missing_update_kbs')
456+
missing_update_kbs = facts.dig('values', 'pe_patch', 'missing_update_kbs')
457457
params['package_list'].each do |kb_article_id|
458458
if kb_article_id.to_i.to_s != kb_article_id
459459
err('107', 'pe_patch/package_list', 'KB ID is not a number: ' + kb_article_id, starttime)

0 commit comments

Comments
 (0)