From 9a178611b89ca198145c200718ab8f205ece398c Mon Sep 17 00:00:00 2001 From: Lars Kellogg-Stedman Date: Thu, 11 May 2017 21:23:50 -0400 Subject: 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. --- cloudinit/sources/DataSourceOpenStack.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'cloudinit/sources/DataSourceOpenStack.py') 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) -- cgit v1.2.3