diff options
Diffstat (limited to 'change.go')
| -rw-r--r-- | change.go | 8 |
1 files changed, 6 insertions, 2 deletions
@@ -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) } +*/ |
