Skip to content

Commit

Permalink
add imageID for updates (#152)
Browse files Browse the repository at this point in the history
  • Loading branch information
mamclaughlin authored Jul 15, 2021
1 parent d1651c4 commit 9704ee1
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions bare_metal_server.go
Original file line number Diff line number Diff line change
Expand Up @@ -96,6 +96,7 @@ type BareMetalUpdate struct {
EnableIPv6 *bool `json:"enable_ipv6,omitempty"`
Label string `json:"label,omitempty"`
AppID int `json:"app_id,omitempty"`
ImageID string `json:"image_id,omitempty"`
UserData string `json:"user_data,omitempty"`
Tag string `json:"tag,omitempty"`
}
Expand Down
1 change: 1 addition & 0 deletions instance.go
Original file line number Diff line number Diff line change
Expand Up @@ -239,6 +239,7 @@ type InstanceUpdateReq struct {
Tag string `json:"tag,omitempty"`
OsID int `json:"os_id,omitempty"`
AppID int `json:"app_id,omitempty"`
ImageID string `json:"image_id,omitempty"`
EnableIPv6 *bool `json:"enable_ipv6,omitempty"`
EnablePrivateNetwork *bool `json:"enable_private_network,omitempty"`
AttachPrivateNetwork []string `json:"attach_private_network,omitempty"`
Expand Down

0 comments on commit 9704ee1

Please sign in to comment.