Revision 1bf69a52 snf-cyclades-app/synnefo/logic/management/commands/server-modify.py
b/snf-cyclades-app/synnefo/logic/management/commands/server-modify.py | ||
---|---|---|
93 | 93 |
if len(args) != 1: |
94 | 94 |
raise CommandError("Please provide a server ID") |
95 | 95 |
|
96 |
server = get_vm(args[0]) |
|
96 |
server = get_vm(args[0], for_update=True)
|
|
97 | 97 |
|
98 | 98 |
new_name = options.get("name", None) |
99 | 99 |
if new_name is not None: |
Also available in: Unified diff