"null" when releasing an IP address is confusing
Bug #1383668 reported by
Graham Binns
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
MAAS |
Fix Released
|
Low
|
Graham Binns |
Bug Description
When you release an IP address you see something like this:
graham@
null
The least it could do is say "IP address released."
Related branches
lp:~gmb/maas/fix-null-when-releasing-ip-bug-1383668
- Gavin Panella (community): Approve
-
Diff: 67 lines (+30/-3)2 files modifiedsrc/maascli/api.py (+11/-3)
src/maascli/tests/test_api.py (+19/-0)
Changed in maas: | |
status: | Triaged → In Progress |
Changed in maas: | |
status: | In Progress → Fix Committed |
Changed in maas: | |
milestone: | next → 1.7.1 |
Changed in maas: | |
status: | Fix Committed → Fix Released |
To post a comment you must log in.
The maas CLI just prints the machine-readable output returned by the API. The CLI is a very thin wrapper around the MAAS API, and I think it's worth making it thicker, by which I mean that the translation from machine-readable to human-readable should be in the CLI. That also makes sense for another reason: the CLI has to be usable for both humans and scripts, so we need both human- and machine-readable available there.