summaryrefslogtreecommitdiff
path: root/cloudinit/config/cc_rsyslog.py
diff options
context:
space:
mode:
authorScott Moser <smoser@ubuntu.com>2015-07-27 21:02:51 -0400
committerScott Moser <smoser@ubuntu.com>2015-07-27 21:02:51 -0400
commitcae9122f88f8369454b03b97a5386d3135941fd9 (patch)
treee41824088d43aa3935f6957c3a0c867984264e93 /cloudinit/config/cc_rsyslog.py
parent6aa70d2f318a56343a7e42075a2249d40f401041 (diff)
downloadvyos-cloud-init-cae9122f88f8369454b03b97a5386d3135941fd9.tar.gz
vyos-cloud-init-cae9122f88f8369454b03b97a5386d3135941fd9.zip
fix kwarg
Diffstat (limited to 'cloudinit/config/cc_rsyslog.py')
-rw-r--r--cloudinit/config/cc_rsyslog.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/cloudinit/config/cc_rsyslog.py b/cloudinit/config/cc_rsyslog.py
index 82e382e8..9599e925 100644
--- a/cloudinit/config/cc_rsyslog.py
+++ b/cloudinit/config/cc_rsyslog.py
@@ -193,7 +193,7 @@ def handle(name, cfg, cloud, log, _args):
try:
restarted = reload_syslog(
- service=mycfg[KEYNAME_RELOAD],
+ command=mycfg[KEYNAME_RELOAD],
systemd=cloud.distro.uses_systemd()),
except util.ProcessExecutionError as e:
restarted = False