summaryrefslogtreecommitdiff
path: root/cloudinit
diff options
context:
space:
mode:
authorLars Kellogg-Stedman <lars@redhat.com>2017-05-11 21:23:50 -0400
committerScott Moser <smoser@brickies.net>2017-05-16 16:23:47 -0400
commit9a178611b89ca198145c200718ab8f205ece398c (patch)
tree552ccb1dcaf301a487d5b34c6e0fa9640333e94d /cloudinit
parent6edf0c72ce11e64627d3db6a0c4fd74a81039ed4 (diff)
downloadvyos-cloud-init-9a178611b89ca198145c200718ab8f205ece398c.tar.gz
vyos-cloud-init-9a178611b89ca198145c200718ab8f205ece398c.zip
openstack: fix log message copy/paste typo in _get_url_settings
There was a copy/paste error in _get_url_settings such that the error message would complain about max wait when in fact it was talking about retries.
Diffstat (limited to 'cloudinit')
-rw-r--r--cloudinit/sources/DataSourceOpenStack.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/cloudinit/sources/DataSourceOpenStack.py b/cloudinit/sources/DataSourceOpenStack.py
index f0a6bfce..b64a7f24 100644
--- a/cloudinit/sources/DataSourceOpenStack.py
+++ b/cloudinit/sources/DataSourceOpenStack.py
@@ -60,7 +60,7 @@ class DataSourceOpenStack(openstack.SourceMixin, sources.DataSource):
try:
retries = int(self.ds_cfg.get("retries", retries))
except Exception:
- util.logexc(LOG, "Failed to get max wait. using %s", retries)
+ util.logexc(LOG, "Failed to get retries. using %s", retries)
return (max_wait, timeout, retries)