Merge pull request #12 from rnirmal/au_revoir_details
Au revoir instances/detail. Changing the instances list to just use inde...
This commit is contained in:
@@ -93,23 +93,7 @@ class Instances(base.ManagerWithFind):
|
||||
|
||||
:rtype: list of :class:`Instance`.
|
||||
"""
|
||||
return self._list("/instances/detail", "instances", limit, marker)
|
||||
|
||||
def index(self):
|
||||
"""
|
||||
Get a list of all instances.
|
||||
|
||||
:rtype: list of :class:`Instance`.
|
||||
"""
|
||||
return self._list("/instances", "instances")
|
||||
|
||||
def details(self):
|
||||
"""
|
||||
Get details of all instances.
|
||||
|
||||
:rtype: list of :class:`Instance`.
|
||||
"""
|
||||
return self._list("/instances/detail", "instances")
|
||||
return self._list("/instances", "instances", limit, marker)
|
||||
|
||||
def get(self, instance):
|
||||
"""
|
||||
|
||||
Reference in New Issue
Block a user