mirror of
https://github.com/valitydev/salt.git
synced 2024-11-08 01:18:58 +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
|
||||
if 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)
|
||||
return ret
|
||||
ret['comment'] = 'Disk in acceptable range'
|
||||
|
Loading…
Reference in New Issue
Block a user