File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -26,6 +26,7 @@ var DescribeCmd = base.DescribeCmd[*hcloud.ServerType]{
2626 cmd .Printf ("ID:\t \t \t %d\n " , serverType .ID )
2727 cmd .Printf ("Name:\t \t \t %s\n " , serverType .Name )
2828 cmd .Printf ("Description:\t \t %s\n " , serverType .Description )
29+ cmd .Printf ("Category:\t \t %s\n " , serverType .Category )
2930 cmd .Printf ("Cores:\t \t \t %d\n " , serverType .Cores )
3031 cmd .Printf ("CPU Type:\t \t %s\n " , serverType .CPUType )
3132 cmd .Printf ("Architecture:\t \t %s\n " , serverType .Architecture )
Original file line number Diff line number Diff line change @@ -25,6 +25,7 @@ func TestDescribe(t *testing.T) {
2525 ID : 45 ,
2626 Name : "cax11" ,
2727 Description : "CAX11" ,
28+ Category : "Shared vCPU" ,
2829 Cores : 2 ,
2930 CPUType : hcloud .CPUTypeShared ,
3031 Memory : 4.0 ,
@@ -87,6 +88,7 @@ func TestDescribe(t *testing.T) {
8788 expOut := `ID: 45
8889Name: cax11
8990Description: CAX11
91+ Category: Shared vCPU
9092Cores: 2
9193CPU Type: shared
9294Architecture:
You can’t perform that action at this time.
0 commit comments