--column is ignored if output is json

Bug #2076344 reported by maxim_united
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
metalsmith
In Progress
Low
Szymon

Bug Description

metalsmith==1.4.4

When running, for example, metalsmith --column UUID -f json list, a full JSON with *all* columns is printed.
Unlike, "metalsmith --column UUID -f value list" or "metalsmith --column UUID -f table list" or "metalsmith --column UUID -f default list".

If comparing to "openstack server -f json -c ID list", where it does print only the requested column (ID).

Tags: json
Afonne-CID (cidelight)
Changed in metalsmith:
status: New → Triaged
Revision history for this message
Afonne-CID (cidelight) wrote :

metalsmith==1.4.4 is from the Wallaby release which is currently unmaintained, so try upgrading to a later version to see if the bug still exists.

NOTE: The latest version as of 12th August 2024, is v2.3.0 while the minimum supported version is v1.10.1 which is from stable/2023.1.

Update this thread when you do!

Afonne-CID (cidelight)
Changed in metalsmith:
importance: Undecided → Low
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to metalsmith (master)

Fix proposed to branch: master
Review: https://review.opendev.org/c/openstack/metalsmith/+/928993

Changed in metalsmith:
status: Triaged → In Progress
Afonne-CID (cidelight)
Changed in metalsmith:
assignee: nobody → Szymon (masts)
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.