mirror of
https://github.com/valitydev/salt.git
synced 2024-11-08 09:23:56 +00:00
Merge pull request #9016 from techhat/typo
Fix misleading message in disk monitoring state
This commit is contained in:
commit
e39d5490b9
@ -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'
|
||||||
|
Loading…
Reference in New Issue
Block a user