removed node based check_cmd, updated to use appropriate function
This commit is contained in:
parent
4a6d69bb09
commit
d326f246a7
11 changed files with 51 additions and 113 deletions
|
@ -631,8 +631,9 @@ class CoreServices(object):
|
|||
"""
|
||||
status = 0
|
||||
for args in service.shutdown:
|
||||
args = utils.split_args(args)
|
||||
try:
|
||||
node.check_cmd(args)
|
||||
node.node_net_cmd(args)
|
||||
except CoreCommandError:
|
||||
logging.exception("error running stop command %s", args)
|
||||
status = -1
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue