diff options
| author | Jeff Carr <[email protected]> | 2024-10-22 14:40:59 -0500 |
|---|---|---|
| committer | Jeff Carr <[email protected]> | 2024-10-22 14:40:59 -0500 |
| commit | 4cdb13d89c5b932384de9f8fa542a4cbd852bca7 (patch) | |
| tree | 5c89a730ba820fb5fb1bfa71549fc4216ad338f1 /sampleData.go | |
| parent | d52e39025edcc8ec5bda4949a9dd65ce6499b870 (diff) | |
attempt 'any' type
Signed-off-by: Jeff Carr <[email protected]>
Diffstat (limited to 'sampleData.go')
| -rw-r--r-- | sampleData.go | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/sampleData.go b/sampleData.go index 03af6ab..e310dec 100644 --- a/sampleData.go +++ b/sampleData.go @@ -5,6 +5,7 @@ import ( "log" "github.com/google/uuid" + // anypb "google.golang.org/protobuf/types/known/anypb" ) // @@ -48,6 +49,11 @@ func CreateSampleCluster(total int) *Cluster { d := CreateSampleDroplet(hostname) d.Comment = fmt.Sprintf("Sample Droplet %d", i) d.PreferredHypervisor = fmt.Sprintf("farm%d", i) + if d.PreferredHypervisor == "farm4" { + d.Cpus = 16 + d.Memory = "256 MB" + // d.Memory = "258 MB" + } c.Droplets = append(c.Droplets, d) } |
