mirror of https://github.com/status-im/consul.git
Cleans up a little whitespace with go fmt.
This commit is contained in:
parent
7601a160d7
commit
158eabdd6f
|
@ -218,7 +218,7 @@ func kvsTableSchema() *memdb.TableSchema {
|
|||
AllowMissing: true,
|
||||
Unique: false,
|
||||
Indexer: &memdb.UUIDFieldIndex{
|
||||
Field: "Session",
|
||||
Field: "Session",
|
||||
},
|
||||
},
|
||||
},
|
||||
|
@ -256,7 +256,7 @@ func sessionsTableSchema() *memdb.TableSchema {
|
|||
AllowMissing: false,
|
||||
Unique: true,
|
||||
Indexer: &memdb.UUIDFieldIndex{
|
||||
Field: "ID",
|
||||
Field: "ID",
|
||||
},
|
||||
},
|
||||
"node": &memdb.IndexSchema{
|
||||
|
@ -293,7 +293,7 @@ func sessionChecksTableSchema() *memdb.TableSchema {
|
|||
Lowercase: true,
|
||||
},
|
||||
&memdb.UUIDFieldIndex{
|
||||
Field: "Session",
|
||||
Field: "Session",
|
||||
},
|
||||
},
|
||||
},
|
||||
|
@ -320,7 +320,7 @@ func sessionChecksTableSchema() *memdb.TableSchema {
|
|||
AllowMissing: false,
|
||||
Unique: false,
|
||||
Indexer: &memdb.UUIDFieldIndex{
|
||||
Field: "Session",
|
||||
Field: "Session",
|
||||
},
|
||||
},
|
||||
},
|
||||
|
|
|
@ -128,8 +128,8 @@ func TestStateStore_Restore_Abort(t *testing.T) {
|
|||
// that abort works.
|
||||
restore := s.Restore()
|
||||
entry := &structs.DirEntry{
|
||||
Key: "foo",
|
||||
Value: []byte("bar"),
|
||||
Key: "foo",
|
||||
Value: []byte("bar"),
|
||||
RaftIndex: structs.RaftIndex{
|
||||
ModifyIndex: 5,
|
||||
},
|
||||
|
|
Loading…
Reference in New Issue