mirror of
https://github.com/valitydev/salt.git
synced 2024-11-07 17:09:03 +00:00
It's salt.utils
not salt.util
.
This commit is contained in:
parent
fdcbbbbf16
commit
8c149be174
@ -402,7 +402,7 @@ def running():
|
|||||||
if not isinstance(data, dict):
|
if not isinstance(data, dict):
|
||||||
# Invalid serial object
|
# Invalid serial object
|
||||||
continue
|
continue
|
||||||
if not salt.util.process.os_is_running(data['pid']):
|
if not salt.utils.process.os_is_running(data['pid']):
|
||||||
# The process is no longer running, clear out the file and
|
# The process is no longer running, clear out the file and
|
||||||
# continue
|
# continue
|
||||||
os.remove(path)
|
os.remove(path)
|
||||||
|
Loading…
Reference in New Issue
Block a user