diff options
| author | Jeff Carr <[email protected]> | 2024-11-01 09:53:52 -0500 |
|---|---|---|
| committer | Jeff Carr <[email protected]> | 2024-11-01 09:53:52 -0500 |
| commit | 8b588eeba5606099e7edd76131a20f58b1f36ae5 (patch) | |
| tree | 2dc307bf11ee87c7070646f013746dfe7e078930 /poll.go | |
| parent | 173520b42e1266687ee397302fada281d227b216 (diff) | |
confirm the current hypervisor value doesn't get cleared out
Signed-off-by: Jeff Carr <[email protected]>
Diffstat (limited to 'poll.go')
| -rw-r--r-- | poll.go | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -54,6 +54,9 @@ func (h *HyperT) pollHypervisor() { start := d.SprintHeader() h.lastDroplets[name] = time.Now() if state == "OFF" { + if d.Current.Hypervisor == "" { + d.Current.Hypervisor = h.pb.Hostname + } if d.LocalOnly == "" { log.Log(WARN, start, "local domain is a duplicate (need to resolve this)") continue |
