summaryrefslogtreecommitdiff
path: root/digitalocean/create.go
diff options
context:
space:
mode:
authorJeff Carr <[email protected]>2023-12-31 18:27:19 -0600
committerJeff Carr <[email protected]>2023-12-31 18:27:19 -0600
commit0f4e3483331bc2504d330c07d86f79cb64416c88 (patch)
tree080049485e89b6fc1891929207784d27fd961b54 /digitalocean/create.go
parent55c9d4b0c4c60e55a0c13d20eacec5b6c86a1beb (diff)
display droplet works betterv0.2.5
Signed-off-by: Jeff Carr <[email protected]>
Diffstat (limited to 'digitalocean/create.go')
-rw-r--r--digitalocean/create.go3
1 files changed, 2 insertions, 1 deletions
diff --git a/digitalocean/create.go b/digitalocean/create.go
index 692d74e..dfd12e3 100644
--- a/digitalocean/create.go
+++ b/digitalocean/create.go
@@ -169,11 +169,12 @@ func InitCreateWindow() *windowCreate {
myCreate.size.Add("s-1vcpu-1gb")
myCreate.size.Add("s-1vcpu-1gb-amd")
myCreate.size.Add("s-1vcpu-1gb-intel")
+ myCreate.size.Add("s-2vcpu-4gb-120gb-intel")
+ myCreate.size.Set("s-2vcpu-4gb-120gb-intel")
myCreate.size.Custom = func() {
size := myCreate.size.Get()
log.Info("Create() need to verify size exists in region. Digital Ocean size.Slug =", size)
}
- myCreate.size.Set("s-1vcpu-1gb")
myCreate.memory = gadgets.NewBasicDropdown(myCreate.grid, "Memory")
myCreate.memory.Add("1 GB")