summaryrefslogtreecommitdiff
path: root/change.go
diff options
context:
space:
mode:
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)
}
+*/