summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--poll.go3
1 files changed, 3 insertions, 0 deletions
diff --git a/poll.go b/poll.go
index 31579f7..3fb7f5d 100644
--- a/poll.go
+++ b/poll.go
@@ -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