Removing flavor detail/index and just sticking with flavor list which is the default
This commit is contained in:
@@ -48,26 +48,10 @@ class Flavors(base.ManagerWithFind):
|
||||
"""
|
||||
Get a list of all flavors.
|
||||
|
||||
:rtype: list of :class:`Flavor`.
|
||||
"""
|
||||
return self.detail()
|
||||
|
||||
def index(self):
|
||||
"""
|
||||
Get a list of all flavors.
|
||||
|
||||
:rtype: list of :class:`Flavor`.
|
||||
"""
|
||||
return self._list("/flavors", "flavors")
|
||||
|
||||
def detail(self):
|
||||
"""
|
||||
Get the details of all flavors.
|
||||
|
||||
:rtype: list of :class:`Flavor`.
|
||||
"""
|
||||
return self._list("/flavors/detail", "flavors")
|
||||
|
||||
def get(self, flavor):
|
||||
"""
|
||||
Get a specific flavor.
|
||||
|
||||
Reference in New Issue
Block a user