summaryrefslogtreecommitdiff
path: root/helpers.go
diff options
context:
space:
mode:
authorJeff Carr <[email protected]>2024-10-24 17:12:05 -0500
committerJeff Carr <[email protected]>2024-10-24 17:12:05 -0500
commit19a8dfe13d4f60e7617497821eafb57641d75c11 (patch)
tree735ab31063a1046b1af6df408df9522b7adb2e75 /helpers.go
parent87b7bc17b313c04806981408943923d8e66f960a (diff)
don't do experiements anymore in droplets.proto
Signed-off-by: Jeff Carr <[email protected]>
Diffstat (limited to 'helpers.go')
-rw-r--r--helpers.go7
1 files changed, 0 insertions, 7 deletions
diff --git a/helpers.go b/helpers.go
index eb54261..e9864ae 100644
--- a/helpers.go
+++ b/helpers.go
@@ -107,13 +107,6 @@ func (c *Cluster) AddDroplet(uuid string, hostname string, cpus int, mem int) *D
d.Cpus = 1
}
d.Memory = SetGB(mem * 32)
- if d.Humantest == nil {
- var newInfo StorageInfo
- newInfo = StorageInfo{Capacity: 64}
- d.Humantest = &newInfo
- } else {
- d.Humantest.Capacity = SetGB(mem * 32)
- }
c.Droplets = append(c.Droplets, d)
return d
}