summaryrefslogtreecommitdiff
path: root/sampleData.go
diff options
context:
space:
mode:
authorJeff Carr <[email protected]>2024-10-23 17:39:50 -0500
committerJeff Carr <[email protected]>2024-10-23 17:39:50 -0500
commit4404eb588d7137daf3bc9162e19a2642152316f5 (patch)
tree7c87990680da72aef8cf94fce43f85b397362074 /sampleData.go
parent884c46a30023ebb6c0926a83d81a4fcaefc59323 (diff)
another total violation of protobuf by renumbering
Signed-off-by: Jeff Carr <[email protected]>
Diffstat (limited to 'sampleData.go')
-rw-r--r--sampleData.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/sampleData.go b/sampleData.go
index 02c6a0b..c87fcd0 100644
--- a/sampleData.go
+++ b/sampleData.go
@@ -21,7 +21,7 @@ func CreateSampleDroplet(hostname string) *Droplet {
d := &Droplet{
Uuid: id.String(),
Hostname: hostname,
- Comment: "this is a droplet for testing",
+ Notes: "this is a droplet for testing",
}
return d
}
@@ -47,7 +47,7 @@ func CreateSampleCluster(total int) *Cluster {
for i := 0; i < total; i++ {
hostname := fmt.Sprintf("bmath%d.wit.com", i)
d := CreateSampleDroplet(hostname)
- d.Comment = fmt.Sprintf("Sample Droplet %d", i)
+ d.Notes = fmt.Sprintf("Sample Droplet %d", i)
d.PreferredHypervisor = fmt.Sprintf("farm%d", i)
if d.PreferredHypervisor == "farm4" {
d.Cpus = 16