CLI error message contains new lines.
Bug #1347524 reported by
Raphaël Badin
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
MAAS |
Fix Released
|
Low
|
Raphaël Badin |
Bug Description
If I run the following CLI command without having imported the images, I get an error. This is normal but what's not normal is that the error message contains new lines:
$ sudo maas maas nodes new architecture=
{"architecture": ["\nNo architectures are available to use for this node; boot images may not\nhave been imported on the selected cluster controller, or it may be\nunavailable
Related branches
lp:~rvb/maas/error-msg-format
- Newell Jensen (community): Approve
-
Diff: 32 lines (+11/-11)1 file modifiedsrc/maasserver/forms.py (+11/-11)
Changed in maas: | |
assignee: | nobody → Raphaël Badin (rvb) |
status: | Triaged → Fix Committed |
Changed in maas: | |
status: | Fix Committed → Fix Released |
To post a comment you must log in.