Skip to content

Commit 2e6134a

Browse files
author
Quentin Perez
committed
Fix location for VPS
1 parent 0d30096 commit 2e6134a

File tree

1 file changed

+6
-4
lines changed

1 file changed

+6
-4
lines changed

pkg/api/api.go

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -555,10 +555,12 @@ type ScalewayServer struct {
555555

556556
// Location of the server
557557
Location struct {
558-
Platform string `json:"platform_id,omitempty"`
559-
Chassis string `json:"chassis_id,omitempty"`
560-
Blade string `json:"blade_id,omitempty"`
561-
Node string `json:"node_id,omitempty"`
558+
Platform string `json:"platform_id,omitempty"`
559+
Chassis string `json:"chassis_id,omitempty"`
560+
Cluster string `json:"cluster_id,omitempty"`
561+
Hypervisor string `json:"hypervisor_id,omitempty"`
562+
Blade string `json:"blade_id,omitempty"`
563+
Node string `json:"node_id,omitempty"`
562564
} `json:"location,omitempty"`
563565
}
564566

0 commit comments

Comments
 (0)