← Back to team overview

nagios-charmers team mailing list archive

[Merge] ~xavpaice/hw-health-charm:fix_unittests into hw-health-charm:master

 

Xav Paice has proposed merging ~xavpaice/hw-health-charm:fix_unittests into hw-health-charm:master.

Requested reviews:
  Nagios Charm developers (nagios-charmers)

For more details, see:
https://code.launchpad.net/~xavpaice/hw-health-charm/+git/hw-health-charm/+merge/379414
-- 
Your team Nagios Charm developers is requested to review the proposed merge of ~xavpaice/hw-health-charm:fix_unittests into hw-health-charm:master.
diff --git a/src/files/megacli/check_megacli.py b/src/files/megacli/check_megacli.py
index f10cbc9..ea28462 100755
--- a/src/files/megacli/check_megacli.py
+++ b/src/files/megacli/check_megacli.py
@@ -30,7 +30,7 @@ def handle_results(nlines, match, critical, errors, num_ldrive, num_pdrive, poli
         if num_ldrive == 0:
             msg = 'OK: no disks configured for RAID'
         else:
-            msg = 'OK: Optimal, ldrives[{}]. pdrives[{}]'.format(num_ldrive, num_pdrive)
+            msg = 'OK: Optimal, ldrives[{}], pdrives[{}]'.format(num_ldrive, num_pdrive)
             if policy:
                 msg += ', policy[{}]'.format(policy)
         print(msg)

Follow ups