Skip to content

Commit

Permalink
Apply suggestions from code review
Browse files Browse the repository at this point in the history
Signed-off-by: Bruno MATEU <[email protected]>
  • Loading branch information
Britaliope authored and dswarbrick committed Oct 21, 2024
1 parent 73a5ab2 commit 687ac0a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions yum.sh
Original file line number Diff line number Diff line change
Expand Up @@ -42,12 +42,12 @@ echo '# TYPE yum_upgrades_pending gauge'
if [[ -n "${upgrades}" ]]; then
echo "${upgrades}"
else
echo 'yum_upgrades_pending{origin="",category=\"all\"} 0'
echo 'yum_upgrades_pending{origin="",category="all"} 0'
fi
if [[ -n "${security_upgrades}" ]]; then
echo "${security_upgrades}"
else
echo 'yum_upgrades_pending{origin="",category=\"security\"} 0'
echo 'yum_upgrades_pending{origin="",category="security"} 0'
fi


Expand Down

0 comments on commit 687ac0a

Please sign in to comment.