cloudmesh/cloudmesh-cloud

AWS: flavors broken

Closed this issue · 0 comments

The AwsFlavors has no update function

def flavor(self, name=None):

    """
    Gets the flavor with a given name
    :param name: The name of the flavor
    :return: The dict of the flavor
    """
    flavors = AwsFlavor()
    flavors.update()
    for flavor in flavors.get():
        if flavor['name'] == name:
            return [flavor]
    return []