Revision 3d870b05 snf-cyclades-app/synnefo/api/subnets.py
b/snf-cyclades-app/synnefo/api/subnets.py | ||
---|---|---|
196 | 196 |
raise api.faults.BadRequest("Malformed request") |
197 | 197 |
|
198 | 198 |
if len(subnet) != 1 or "name" not in subnet: |
199 |
raise api.faults.BadRequest("Only the name of subnet can be updated") |
|
199 |
raise api.faults.BadRequest("Only the name of a subnet can be updated")
|
|
200 | 200 |
|
201 | 201 |
name = subnet.get("name", None) |
202 | 202 |
|
Also available in: Unified diff