From 5435055c5f0cc786a883bb900a12b2163e8d86fb Mon Sep 17 00:00:00 2001 From: Mike Cowgill Date: Wed, 2 Mar 2016 08:55:14 -0800 Subject: [PATCH] one line schema change to not allow missing for sessions Table node index, Fixes #1774 --- consul/state/schema.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/consul/state/schema.go b/consul/state/schema.go index a85a5afcb5..e47939a562 100644 --- a/consul/state/schema.go +++ b/consul/state/schema.go @@ -263,7 +263,7 @@ func sessionsTableSchema() *memdb.TableSchema { }, "node": &memdb.IndexSchema{ Name: "node", - AllowMissing: true, + AllowMissing: false, Unique: false, Indexer: &memdb.StringFieldIndex{ Field: "Node",