mirror of https://github.com/status-im/consul.git
one line schema change to not allow missing for sessions Table node index, Fixes #1774
This commit is contained in:
parent
ef1a588b7a
commit
5435055c5f
|
@ -263,7 +263,7 @@ func sessionsTableSchema() *memdb.TableSchema {
|
||||||
},
|
},
|
||||||
"node": &memdb.IndexSchema{
|
"node": &memdb.IndexSchema{
|
||||||
Name: "node",
|
Name: "node",
|
||||||
AllowMissing: true,
|
AllowMissing: false,
|
||||||
Unique: false,
|
Unique: false,
|
||||||
Indexer: &memdb.StringFieldIndex{
|
Indexer: &memdb.StringFieldIndex{
|
||||||
Field: "Node",
|
Field: "Node",
|
||||||
|
|
Loading…
Reference in New Issue