Skip to content

Commit

Permalink
fix(storage): retain API structure in JSON & YAML output
Browse files Browse the repository at this point in the history
  • Loading branch information
villevsv-upcloud committed Oct 17, 2023
1 parent 6dbe19d commit 360e836
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion internal/commands/storage/list.go
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,7 @@ func (s *listCommand) ExecuteWithoutArguments(exec commands.Executor) (output.Ou
}

return output.MarshaledWithHumanOutput{
Value: filtered,
Value: upcloud.Storages{Storages: filtered},
Output: output.Table{
Columns: []output.TableColumn{
{Key: "uuid", Header: "UUID", Colour: ui.DefaultUUUIDColours},
Expand Down

0 comments on commit 360e836

Please sign in to comment.