diff options
author | Scott Moser <smoser@ubuntu.com> | 2016-05-26 15:50:40 -0400 |
---|---|---|
committer | Scott Moser <smoser@ubuntu.com> | 2016-05-26 15:50:40 -0400 |
commit | e86794ba646863ac54dcb348c016d2ae0be2c180 (patch) | |
tree | 9447793c4e4f611a0b05f246495e38ef33abc868 /cloudinit/stages.py | |
parent | 4789f071a1ad7a437f257d3f1cb46d1ea3a52150 (diff) | |
download | vyos-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.py | 2 |
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) |