Revision 3fff9189 snf-cyclades-app/synnefo/api/management/commands/server-create.py
b/snf-cyclades-app/synnefo/api/management/commands/server-create.py | ||
---|---|---|
94 | 94 |
raise CommandError("user-id is mandatory") |
95 | 95 |
if not password: |
96 | 96 |
raise CommandError("password is mandatory") |
97 |
if not flavor_id: |
|
98 |
raise CommandError("flavor-id is mandatory") |
|
97 | 99 |
|
98 | 100 |
# Get Flavor |
99 | 101 |
if flavor_id: |
Also available in: Unified diff