summaryrefslogtreecommitdiff
path: root/cloudinit/stages.py
diff options
context:
space:
mode:
authorScott Moser <smoser@ubuntu.com>2016-05-26 15:50:40 -0400
committerScott Moser <smoser@ubuntu.com>2016-05-26 15:50:40 -0400
commite86794ba646863ac54dcb348c016d2ae0be2c180 (patch)
tree9447793c4e4f611a0b05f246495e38ef33abc868 /cloudinit/stages.py
parent4789f071a1ad7a437f257d3f1cb46d1ea3a52150 (diff)
downloadvyos-cloud-init-e86794ba646863ac54dcb348c016d2ae0be2c180.tar.gz
vyos-cloud-init-e86794ba646863ac54dcb348c016d2ae0be2c180.zip
compare instance id to get_instance_id() not the function itself.
Diffstat (limited to 'cloudinit/stages.py')
-rw-r--r--cloudinit/stages.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/cloudinit/stages.py b/cloudinit/stages.py
index 90c9016c..cbf4df8b 100644
--- a/cloudinit/stages.py
+++ b/cloudinit/stages.py
@@ -228,7 +228,7 @@ class Init(object):
else:
run_iid = None
- if run_iid == ds.get_instance_id:
+ if run_iid == ds.get_instance_id():
return (ds, "restored from cache with run check: %s" % ds)
elif existing == "trust":
return (ds, "restored from cache: %s" % ds)