summaryrefslogtreecommitdiff
path: root/machine.go
diff options
context:
space:
mode:
authorJeff Carr <[email protected]>2024-11-17 23:23:02 -0600
committerJeff Carr <[email protected]>2024-11-17 23:23:02 -0600
commit0b78c1f2d15608a9f6ddfaa977ef0f44dab77073 (patch)
treeb07328db1a1176748437e06396bd3e11e1e4e021 /machine.go
parent375e4f21171ed0b38e6f4a2b65feab7c4a425bb9 (diff)
add log flags
Signed-off-by: Jeff Carr <[email protected]>
Diffstat (limited to 'machine.go')
-rw-r--r--machine.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/machine.go b/machine.go
index 907b51d..3f4d23e 100644
--- a/machine.go
+++ b/machine.go
@@ -13,11 +13,11 @@ func updateMachine(u *zoopb.Machine) string {
}
m := me.machines.FindByName(u.Hostname)
if m == nil {
- log.Info("did not find", u.Hostname)
+ log.Info("adding new machine", u.Hostname)
me.machines.Append(u)
return "new"
}
- log.Info("updating machine", m.Hostname)
+ // log.Info("updating machine", m.Hostname)
// did the # of cpus change?
if m.Cpus != u.Cpus {