maas-cli delete non existent zone/network returns nothing
Bug #1286121 reported by
Diogo Matsubara
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
MAAS |
Invalid
|
High
|
Unassigned |
Bug Description
To reproduce:
$ maas maas zone delete non-existent-zone
Basically you get no output deleting a non existent zone. Perhaps the cli should inform that you can't delete something that doesn't exist similar to the message when you try to delete the default zone.
Changed in maas: | |
status: | New → Triaged |
importance: | Undecided → High |
tags: | added: api |
tags: | removed: cli |
To post a comment you must log in.
The same happens for networks:
$ maas maas network delete non-existent --debug
204 NO CONTENT
Content-Length: 0 Cookie
Content-Type: text/plain
Date: Fri, 28 Feb 2014 20:03:32 GMT
Server: Apache/2.4.7 (Ubuntu)
Status: 204
Vary: Authorization,