Skip to content

Commit 4c2024c

Browse files
fix(storage): retain API structure in JSON & YAML output (#262)
1 parent 9b0d8f9 commit 4c2024c

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

internal/commands/storage/list.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -110,7 +110,7 @@ func (s *listCommand) ExecuteWithoutArguments(exec commands.Executor) (output.Ou
110110
}
111111

112112
return output.MarshaledWithHumanOutput{
113-
Value: filtered,
113+
Value: upcloud.Storages{Storages: filtered},
114114
Output: output.Table{
115115
Columns: []output.TableColumn{
116116
{Key: "uuid", Header: "UUID", Colour: ui.DefaultUUUIDColours},

0 commit comments

Comments
 (0)