1
0
Fork 0
mirror of https://github.com/ansible-collections/community.general.git synced 2024-09-14 20:13:21 +02:00

cloudstack: fix missing self. in cloudstack utils

This commit is contained in:
Rene Moser 2015-04-24 20:25:19 +02:00
parent 6354ca0718
commit 3c0e406f5d

View file

@ -100,7 +100,7 @@ class AnsibleCloudStack:
# TODO: for backward compatibility only, remove if not used anymore
def get_project_id(self):
return get_project(key='id')
return self.get_project(key='id')
def get_project(self, key=None):
@ -122,7 +122,7 @@ class AnsibleCloudStack:
# TODO: for backward compatibility only, remove if not used anymore
def get_ip_address_id(self):
return get_ip_address(key='id')
return self.get_ip_address(key='id')
def get_ip_address(self, key=None):
@ -147,7 +147,7 @@ class AnsibleCloudStack:
# TODO: for backward compatibility only, remove if not used anymore
def get_vm_id(self):
return get_vm(key='id')
return self.get_vm(key='id')
def get_vm(self, key=None):
@ -171,7 +171,7 @@ class AnsibleCloudStack:
# TODO: for backward compatibility only, remove if not used anymore
def get_zone_id(self):
return get_zone(key='id')
return self.get_zone(key='id')
def get_zone(self, key=None):
@ -196,7 +196,7 @@ class AnsibleCloudStack:
# TODO: for backward compatibility only, remove if not used anymore
def get_os_type_id(self):
return get_os_type(key='id')
return self.get_os_type(key='id')
def get_os_type(self, key=None):