fix bad arguments to subp inside of apply_hostname_bounce
This simply correctly invokes subp through util.log_time. The arguments to subp is named 'args' not 'command'.
This commit is contained in:
parent
d56c83eb8e
commit
75a493f9f0
@ -209,7 +209,7 @@ def apply_hostname_bounce(hostname, policy, interface, command,
|
||||
# capture=False, see comments in bug 1202758 and bug 1206164.
|
||||
util.log_time(logfunc=LOG.debug, msg="publishing hostname",
|
||||
get_uptime=True, func=util.subp,
|
||||
kwargs={'command': command, 'shell': shell, 'capture': False,
|
||||
kwargs={'args': command, 'shell': shell, 'capture': False,
|
||||
'env': env})
|
||||
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user