Commit c5d2f02c authored by Christos Stavrakakis's avatar Christos Stavrakakis
Browse files

cyclades: Fix bug in server-create command

Function for creating a server have been moved from api to logic.
parent f7557707
......@@ -37,7 +37,7 @@ from import BaseCommand, CommandError
from import common
from synnefo.api import util
from synnefo.api.servers import do_create_server
from synnefo.logic import servers
HELP_MSG = """
......@@ -98,5 +98,5 @@ class Command(BaseCommand):
if backend_id:
backend = common.get_backend(backend_id)
do_create_server(user_id, name, password, flavor, image,
servers.create(user_id, name, password, flavor, image,
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment