From 26cd0f7709ba552b98aeee83723612eb5e7009cb Mon Sep 17 00:00:00 2001 From: Jeff Carr Date: Thu, 31 Oct 2024 22:39:47 -0500 Subject: [PATCH] ready to try local import Signed-off-by: Jeff Carr --- poll.go | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/poll.go b/poll.go index 916eef9..58bdc3d 100644 --- a/poll.go +++ b/poll.go @@ -33,23 +33,23 @@ func (h *HyperT) pollHypervisor() { } state := fields[0] name := fields[1] - start := fmt.Sprintf("%-9s %-20s", h.pb.Hostname, name) + start := fmt.Sprintf("%-9s %-20.20s", h.pb.Hostname, name) d := me.cluster.FindDropletByName(name) if d == nil { log.Log(WARN, start, "local defined domain") - log.Log(WARN, start, "local Running AddDropletLocal()") - log.Log(WARN, start, "local Running AddDropletLocal()") - log.Log(WARN, start, "local Running AddDropletLocal()") + log.Log(WARN, start, "local Adding new entry with AddDropletLocal()") + log.Log(WARN, start, "local Adding new entry with AddDropletLocal()") + log.Log(WARN, start, "local Adding new entry with AddDropletLocal()") me.cluster.AddDropletLocal(name, h.pb.Hostname) return } h.lastDroplets[name] = time.Now() if state == "OFF" { if d.LocalOnly == "" { - log.Log(WARN, start, "local duplicate defined (need to resolve this)") + log.Log(WARN, start, "local domain is a duplicate (need to resolve this)") continue } - log.Log(WARN, start, "local ready to import from hypervisor") + log.Log(WARN, start, "local domain ready to import from hypervisor") continue }