From ec07a6717e1853126ca4702240ebbc5296858b14 Mon Sep 17 00:00:00 2001 From: Mahmood Ali Date: Wed, 8 May 2019 08:42:26 -0400 Subject: [PATCH] remove Index field from EmitNodeEventsResponse `Index` is already included as part of `WriteMeta` embedding. This is a backward compatible change: Clients never read the field; and Server refernces to `EmitNodeEventsResponse.Index` would be using the value in `WriteMeta`, which is consistent with other response structs. --- nomad/structs/structs.go | 1 - 1 file changed, 1 deletion(-) diff --git a/nomad/structs/structs.go b/nomad/structs/structs.go index 46a79e3e6..1689422f4 100644 --- a/nomad/structs/structs.go +++ b/nomad/structs/structs.go @@ -1282,7 +1282,6 @@ type EmitNodeEventsRequest struct { // EmitNodeEventsResponse is a response to the client about the status of // the node event source update. type EmitNodeEventsResponse struct { - Index uint64 WriteMeta }