summaryrefslogtreecommitdiff
path: root/cloudinit/cloud.py
diff options
context:
space:
mode:
Diffstat (limited to 'cloudinit/cloud.py')
-rw-r--r--cloudinit/cloud.py5
1 files changed, 3 insertions, 2 deletions
diff --git a/cloudinit/cloud.py b/cloudinit/cloud.py
index af69a541..95e0cfb2 100644
--- a/cloudinit/cloud.py
+++ b/cloudinit/cloud.py
@@ -76,8 +76,9 @@ class Cloud(object):
def get_instance_id(self):
return self.datasource.get_instance_id()
- def get_launch_index(self):
- return self.datasource.get_launch_index()
+ @property
+ def launch_index(self):
+ return self.datasource.launch_index
def get_public_ssh_keys(self):
return self.datasource.get_public_ssh_keys()