removed node based check_cmd, updated to use appropriate function

This commit is contained in:
Blake Harnden 2019-10-11 12:57:37 -07:00
parent 4a6d69bb09
commit d326f246a7
11 changed files with 51 additions and 113 deletions

View file

@ -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