From dff03f6a9141b9f8d632b08a7d205f7042fe2e40 Mon Sep 17 00:00:00 2001 From: Chelsea Holland Komlo Date: Wed, 28 Mar 2018 17:26:53 -0400 Subject: [PATCH] emit first node event --- client/client.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/client/client.go b/client/client.go index fb6261b66..59458c8d3 100644 --- a/client/client.go +++ b/client/client.go @@ -1065,7 +1065,7 @@ func (c *Client) updateNodeFromDriver(name string, fingerprint, health *structs. // Only emit an event if the health status has changed, not if we are // simply updating a node on startup - if health.Healthy != oldVal.Healthy && oldVal.HealthDescription != "" { + if health.Healthy != oldVal.Healthy && health.HealthDescription != "" { event := &structs.NodeEvent{ Subsystem: "Driver", Message: health.HealthDescription,