update fails
This commit is contained in:
@@ -9,11 +9,11 @@ import (
|
||||
|
||||
type DatacenterResource struct {
|
||||
resources.AbstractResource
|
||||
BookingPrice int `bson:"booking_price" json:"booking_price"`
|
||||
BookingPrice int `bson:"booking_price" json:"booking_price,omitempty"`
|
||||
|
||||
CPU DatacenterCpuModel `bson:"cpu,omitempty" json:"cpu,omitempty"`
|
||||
RAM DatacenterMemoryModel `bson:"ram,omitempty" json:"ram,omitempty"`
|
||||
GPU []DatacenterGpuModel `bson:"gpu,omitempty" json:"gpu,omitempty"`
|
||||
CPU *DatacenterCpuModel `bson:"cpu,omitempty" json:"cpu,omitempty"`
|
||||
RAM *DatacenterMemoryModel `bson:"ram,omitempty" json:"ram,omitempty"`
|
||||
GPU []DatacenterGpuModel `bson:"gpu,omitempty" json:"gpu,omitempty"`
|
||||
}
|
||||
|
||||
type DatacenterCpuModel struct {
|
||||
|
||||
Reference in New Issue
Block a user