Cleans up a little whitespace with go fmt.

This commit is contained in:
James Phillips 2015-10-20 18:41:05 -07:00
parent 7601a160d7
commit 158eabdd6f
2 changed files with 6 additions and 6 deletions

View File

@ -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",
},
},
},

View File

@ -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,
},