Revision a6e6fe48 snf-cyclades-app/synnefo/logic/management/commands/server-inspect.py

b/snf-cyclades-app/synnefo/logic/management/commands/server-inspect.py
1
# Copyright 2012-2013 GRNET S.A. All rights reserved.
1
# Copyright 2012-2014 GRNET S.A. All rights reserved.
2 2
#
3 3
# Redistribution and use in source and binary forms, with or
4 4
# without modification, are permitted provided that the following
......
61 61
        if len(args) != 1:
62 62
            raise CommandError("Please provide a server ID")
63 63

  
64
        vm = common.get_vm(args[0], for_update=True)
64
        vm = common.get_resource("server", args[0], for_update=True)
65 65

  
66 66
        displayname = options['displayname']
67 67

  

Also available in: Unified diff