Skip to content

Commit

Permalink
Add MdiskMode to BareMetalCreate and BareMetalUpdate structs (#310)
Browse files Browse the repository at this point in the history
Co-authored-by: Joe Nichols <[email protected]>
  • Loading branch information
fjoenichols and Joe Nichols committed May 28, 2024
1 parent 251531d commit d442cca
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions bare_metal_server.go
Original file line number Diff line number Diff line change
Expand Up @@ -95,6 +95,7 @@ type BareMetalCreate struct {
UserData string `json:"user_data,omitempty"`
ActivationEmail *bool `json:"activation_email,omitempty"`
Hostname string `json:"hostname,omitempty"`
MdiskMode string `json:"mdisk_mode,omitempty"`
// Deprecated: Tag should no longer be used. Instead, use Tags.
Tag string `json:"tag,omitempty"`
ReservedIPv4 string `json:"reserved_ipv4,omitempty"`
Expand All @@ -114,6 +115,7 @@ type BareMetalUpdate struct {
AppID int `json:"app_id,omitempty"`
ImageID string `json:"image_id,omitempty"`
UserData string `json:"user_data,omitempty"`
MdiskMode string `json:"mdisk_mode,omitempty"`
// Deprecated: Tag should no longer be used. Instead, use Tags.
Tag *string `json:"tag,omitempty"`
Tags []string `json:"tags"`
Expand Down

0 comments on commit d442cca

Please sign in to comment.