Merge pull request #9016 from techhat/typo

Fix misleading message in disk monitoring state
This commit is contained in:
Pedro Algarvio 2013-12-04 03:53:29 -08:00
commit e39d5490b9

View File

@ -52,7 +52,7 @@ def status(name, maximum=None, minimum=None):
return ret return ret
if maximum: if maximum:
if cap > maximum: if cap > maximum:
ret['comment'] = 'Disk is below maximum of {0} at {1}'.format( ret['comment'] = 'Disk is above maximum of {0} at {1}'.format(
maximum, cap) maximum, cap)
return ret return ret
ret['comment'] = 'Disk in acceptable range' ret['comment'] = 'Disk in acceptable range'