Revision e407f159 snf-cyclades-app/synnefo/api/management/commands/server-show.py

b/snf-cyclades-app/synnefo/api/management/commands/server-show.py
37 37
                                       get_image)
38 38
from snf_django.lib.astakos import UserCache
39 39
from synnefo.settings import (CYCLADES_SERVICE_TOKEN as ASTAKOS_TOKEN,
40
                              ASTAKOS_BASE_URL)
40
                              ASTAKOS_AUTH_URL)
41 41
from snf_django.management import utils
42 42

  
43 43

  
......
61 61
            image_name = "None"
62 62
        image = '%s (%s)' % (imageid, image_name)
63 63

  
64
        usercache = UserCache(ASTAKOS_BASE_URL, ASTAKOS_TOKEN)
64
        usercache = UserCache(ASTAKOS_AUTH_URL, ASTAKOS_TOKEN)
65 65
        kv = {
66 66
            'id': server.id,
67 67
            'name': server.name,

Also available in: Unified diff