Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
A
ansible
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
OpenEdx
ansible
Commits
3c0e406f
Commit
3c0e406f
authored
Apr 24, 2015
by
Rene Moser
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
cloudstack: fix missing self. in cloudstack utils
parent
6354ca07
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
5 deletions
+5
-5
lib/ansible/module_utils/cloudstack.py
+5
-5
No files found.
lib/ansible/module_utils/cloudstack.py
View file @
3c0e406f
...
@@ -100,7 +100,7 @@ class AnsibleCloudStack:
...
@@ -100,7 +100,7 @@ class AnsibleCloudStack:
# TODO: for backward compatibility only, remove if not used anymore
# TODO: for backward compatibility only, remove if not used anymore
def
get_project_id
(
self
):
def
get_project_id
(
self
):
return
get_project
(
key
=
'id'
)
return
self
.
get_project
(
key
=
'id'
)
def
get_project
(
self
,
key
=
None
):
def
get_project
(
self
,
key
=
None
):
...
@@ -122,7 +122,7 @@ class AnsibleCloudStack:
...
@@ -122,7 +122,7 @@ class AnsibleCloudStack:
# TODO: for backward compatibility only, remove if not used anymore
# TODO: for backward compatibility only, remove if not used anymore
def
get_ip_address_id
(
self
):
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
):
def
get_ip_address
(
self
,
key
=
None
):
...
@@ -147,7 +147,7 @@ class AnsibleCloudStack:
...
@@ -147,7 +147,7 @@ class AnsibleCloudStack:
# TODO: for backward compatibility only, remove if not used anymore
# TODO: for backward compatibility only, remove if not used anymore
def
get_vm_id
(
self
):
def
get_vm_id
(
self
):
return
get_vm
(
key
=
'id'
)
return
self
.
get_vm
(
key
=
'id'
)
def
get_vm
(
self
,
key
=
None
):
def
get_vm
(
self
,
key
=
None
):
...
@@ -171,7 +171,7 @@ class AnsibleCloudStack:
...
@@ -171,7 +171,7 @@ class AnsibleCloudStack:
# TODO: for backward compatibility only, remove if not used anymore
# TODO: for backward compatibility only, remove if not used anymore
def
get_zone_id
(
self
):
def
get_zone_id
(
self
):
return
get_zone
(
key
=
'id'
)
return
self
.
get_zone
(
key
=
'id'
)
def
get_zone
(
self
,
key
=
None
):
def
get_zone
(
self
,
key
=
None
):
...
@@ -196,7 +196,7 @@ class AnsibleCloudStack:
...
@@ -196,7 +196,7 @@ class AnsibleCloudStack:
# TODO: for backward compatibility only, remove if not used anymore
# TODO: for backward compatibility only, remove if not used anymore
def
get_os_type_id
(
self
):
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
):
def
get_os_type
(
self
,
key
=
None
):
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment