Revision e3ff6830 snf-cyclades-app/synnefo/api/management/commands/server-inspect.py

b/snf-cyclades-app/synnefo/api/management/commands/server-inspect.py
41 41
from synnefo.management.common import Omit
42 42
from synnefo.management import common
43 43
from synnefo.settings import (CYCLADES_ASTAKOS_SERVICE_TOKEN as ASTAKOS_TOKEN,
44
                              ASTAKOS_URL)
44
                              ASTAKOS_BASE_URL)
45 45

  
46 46

  
47 47
# Fields to print from a gnt-instance info
......
82 82

  
83 83
        displayname = options['displayname']
84 84

  
85
        ucache = UserCache(ASTAKOS_URL, ASTAKOS_TOKEN)
85
        ucache = UserCache(ASTAKOS_BASE_URL, ASTAKOS_TOKEN)
86 86

  
87 87
        try:
88 88
            image = common.get_image(vm.imageid, vm.userid)['name']

Also available in: Unified diff