Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
itminedu
synnefo
Commits
a9b5ed20
Commit
a9b5ed20
authored
Nov 15, 2013
by
Dionysis Grigoropoulos
Committed by
Christos Stavrakakis
Nov 25, 2013
Browse files
cyclades: Update success code on subnet create
parent
d2aec456
Changes
1
Hide whitespace changes
Inline
Side-by-side
snf-cyclades-app/synnefo/api/subnets.py
View file @
a9b5ed20
...
...
@@ -148,7 +148,7 @@ def create_subnet(request):
subnet_dict
=
subnet_to_dict
(
sub
)
data
=
json
.
dumps
({
'subnet'
:
subnet_dict
})
return
HttpResponse
(
data
,
status
=
20
0
)
return
HttpResponse
(
data
,
status
=
20
1
)
@
api
.
api_method
(
http_method
=
'GET'
,
user_required
=
True
,
logger
=
log
)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment