Skip to content

Commit

Permalink
Merge pull request #218 from civo/volty
Browse files Browse the repository at this point in the history
Add volume_type params in create configs
  • Loading branch information
fulviodenza authored Oct 3, 2024
2 parents e04c310 + b738df6 commit b160fc3
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions instance.go
Original file line number Diff line number Diff line change
Expand Up @@ -111,6 +111,7 @@ type InstanceConfig struct {
Tags []string `json:"-"`
TagsList string `json:"tags"`
FirewallID string `json:"firewall_id"`
VolumeType string `json:"volume_type,omitempty"`
AttachedVolumes []AttachedVolume `json:"attached_volumes"`
PlacementRule PlacementRule `json:"placement_rule"`
}
Expand Down
1 change: 1 addition & 0 deletions volume.go
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,7 @@ type VolumeConfig struct {
Region string `json:"region"`
SizeGigabytes int `json:"size_gb"`
Bootable bool `json:"bootable"`
VolumeType string `json:"volume_type"`
}

// VolumeAttachConfig is the configuration used to attach volume
Expand Down

0 comments on commit b160fc3

Please sign in to comment.