Skip to content

Commit 9b0d8f9

Browse files
fix(router): retain API structure in JSON & YAML output (#263)
1 parent 2c16021 commit 9b0d8f9

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

internal/commands/router/list.go

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

7171
return output.MarshaledWithHumanOutput{
72-
Value: filtered,
72+
Value: upcloud.Routers{Routers: filtered},
7373
Output: output.Table{
7474
Columns: []output.TableColumn{
7575
{Header: "UUID", Key: "uuid", Colour: ui.DefaultUUUIDColours},

0 commit comments

Comments
 (0)