summaryrefslogtreecommitdiff
path: root/change.go
diff options
context:
space:
mode:
authorJeff Carr <[email protected]>2024-10-26 08:54:28 -0500
committerJeff Carr <[email protected]>2024-10-26 08:54:28 -0500
commitb4518e8b82df2109b75072c679122e4826b341ef (patch)
treea501d4f3c0717a9a5acb51fbcec2b0cc232cda86 /change.go
parent9020957ee73741a3f120ff7fd9f9afcb517e02ed (diff)
compiles and lists hypervisors
Signed-off-by: Jeff Carr <[email protected]>
Diffstat (limited to 'change.go')
-rw-r--r--change.go8
1 files changed, 6 insertions, 2 deletions
diff --git a/change.go b/change.go
index 2a36a4f..2352d38 100644
--- a/change.go
+++ b/change.go
@@ -113,8 +113,9 @@ func NewAddEvent(a any, fname string, newval any) *pb.Event {
return e
}
+/*
// update the droplet memory
-func (d *DropletT) SetMemory(b int64) *pb.Event {
+func (d *pb.Droplet) SetMemory(b int64) *pb.Event {
oldm := pb.HumanFormatBytes(d.pb.Memory)
newm := pb.HumanFormatBytes(b)
if d.pb.Memory == b {
@@ -125,8 +126,11 @@ func (d *DropletT) SetMemory(b int64) *pb.Event {
return NewChangeEvent(d.pb, "Droplet.Memory", d.pb.Memory, b)
}
+*/
+/*
// update the droplet memory
-func (d *DropletT) SetCpus(b int64) {
+func (d *pb.Droplet) SetCpus(b int64) {
log.Info("Set the number of cpus for the droplet", b)
}
+*/