Skip to content

Commit 4612112

Browse files
authored
feat(rdb): improve collumn order in instance list (#1217)
1 parent 51570a1 commit 4612112

File tree

1 file changed

+32
-0
lines changed

1 file changed

+32
-0
lines changed

internal/namespaces/rdb/v1/rdb_cli.go

Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -594,6 +594,38 @@ func rdbInstanceList() *core.Command {
594594
return resp.Instances, nil
595595

596596
},
597+
View: &core.View{Fields: []*core.ViewField{
598+
{
599+
FieldName: "ID",
600+
},
601+
{
602+
FieldName: "Name",
603+
},
604+
{
605+
FieldName: "NodeType",
606+
},
607+
{
608+
FieldName: "Status",
609+
},
610+
{
611+
FieldName: "Engine",
612+
},
613+
{
614+
FieldName: "Region",
615+
},
616+
{
617+
FieldName: "Tags",
618+
},
619+
{
620+
FieldName: "IsHaCluster",
621+
},
622+
{
623+
FieldName: "BackupSchedule",
624+
},
625+
{
626+
FieldName: "CreatedAt",
627+
},
628+
}},
597629
}
598630
}
599631

0 commit comments

Comments
 (0)