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 <pro+github@brunomat.eu>
  • Loading branch information
Britaliope authored Jul 11, 2024
1 parent 7c88995 commit c2d9eef
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 c2d9eef

Please sign in to comment.