diff options
| author | Jeff Carr <[email protected]> | 2024-10-26 08:54:28 -0500 |
|---|---|---|
| committer | Jeff Carr <[email protected]> | 2024-10-26 08:54:28 -0500 |
| commit | b4518e8b82df2109b75072c679122e4826b341ef (patch) | |
| tree | a501d4f3c0717a9a5acb51fbcec2b0cc232cda86 /change.go | |
| parent | 9020957ee73741a3f120ff7fd9f9afcb517e02ed (diff) | |
compiles and lists hypervisors
Signed-off-by: Jeff Carr <[email protected]>
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) } +*/ |
