Revision 1b696c26 snf-cyclades-app/synnefo/api/flavors.py

b/snf-cyclades-app/synnefo/api/flavors.py
56 56

  
57 57
def flavor_to_dict(flavor, detail=True):
58 58
    d = {'id': flavor.id, 'name': flavor.name}
59
    d['links'] = util.flavor_to_links(flavor.id)
59 60
    if detail:
60 61
        d['ram'] = flavor.ram
61 62
        d['disk'] = flavor.disk

Also available in: Unified diff