mirror of
https://github.com/saltstack/salt.git
synced 2025-04-17 10:10:20 +00:00
Merge pull request #45199 from gtmanfred/status
status.pid returns pid ids not process names
This commit is contained in:
commit
6f52034e08
1 changed files with 1 additions and 1 deletions
|
@ -66,7 +66,7 @@ def process(name):
|
|||
'data': {}} # Data field for monitoring state
|
||||
|
||||
data = __salt__['status.pid'](name)
|
||||
if name not in data:
|
||||
if not data:
|
||||
ret['result'] = False
|
||||
ret['comment'] += 'Process signature "{0}" not found '.format(
|
||||
name
|
||||
|
|
Loading…
Add table
Reference in a new issue