Wrongly capitalized field names in JSON output of "lxc list"
Bug #1667406 reported by
Stéphane Graber
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
lxd (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned | ||
Trusty |
Fix Released
|
High
|
Unassigned | ||
Xenial |
Fix Released
|
High
|
Unassigned |
Bug Description
This only affects LXD 2.0.9 in Ubuntu right now.
# Rationale
LXD 2.0.9 regressed JSON output of "lxc list" when compared to LXD 2.0.8 by having a few fields be now capitalized.
# Testcase
- lxc launch ubuntu:16.04 xen
- lxc list --format=json | grep Snapshots
- Upgrade
- lxc list --format=json | grep Snapshots
("Snapshots" is meant to be "snapshots")
# Regression potential
The commit only fixes the name of the two affected fields. It's unlikely that someone is already relying on the wrongly capitalized name and it's certainly worth fixing the regression for people scripting LXD.
Changed in lxd (Ubuntu Trusty): | |
status: | Triaged → Fix Released |
To post a comment you must log in.
As this is a regression fix, I'll most likely be waving the -proposed testing period, just waiting for autopkgtest to confirm that everything is fine, doing a manual test and releasing.