summaryrefslogtreecommitdiff
path: root/cloudinit/sources/DataSourceEc2.py
diff options
context:
space:
mode:
authorDaniel Watkins <daniel.watkins@canonical.com>2019-05-08 15:14:31 +0000
committerServer Team CI Bot <josh.powers+server-team-bot@canonical.com>2019-05-08 15:14:31 +0000
commit9aa97cfc73b31dc548a240e5f4bd1ef41861cc4d (patch)
tree084afa05185571aafec8d3ee22e49dfc158e8e0d /cloudinit/sources/DataSourceEc2.py
parentab6621d849b24bb652243e88c79f6f3b446048d7 (diff)
downloadvyos-cloud-init-9aa97cfc73b31dc548a240e5f4bd1ef41861cc4d.tar.gz
vyos-cloud-init-9aa97cfc73b31dc548a240e5f4bd1ef41861cc4d.zip
replace remaining occurrences of LOG.warn
Diffstat (limited to 'cloudinit/sources/DataSourceEc2.py')
-rw-r--r--cloudinit/sources/DataSourceEc2.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/cloudinit/sources/DataSourceEc2.py b/cloudinit/sources/DataSourceEc2.py
index ac28f1db..5c017bfb 100644
--- a/cloudinit/sources/DataSourceEc2.py
+++ b/cloudinit/sources/DataSourceEc2.py
@@ -208,7 +208,7 @@ class DataSourceEc2(sources.DataSource):
start_time = time.time()
url = uhelp.wait_for_url(
urls=urls, max_wait=url_params.max_wait_seconds,
- timeout=url_params.timeout_seconds, status_cb=LOG.warn)
+ timeout=url_params.timeout_seconds, status_cb=LOG.warning)
if url:
self.metadata_address = url2base[url]