From 158eabdd6f2408067c1d7656fa10e49434f96480 Mon Sep 17 00:00:00 2001 From: James Phillips Date: Tue, 20 Oct 2015 18:41:05 -0700 Subject: [PATCH] Cleans up a little whitespace with go fmt. --- consul/state/schema.go | 8 ++++---- consul/state/state_store_test.go | 4 ++-- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/consul/state/schema.go b/consul/state/schema.go index ac58f15386..9e1011fe8d 100644 --- a/consul/state/schema.go +++ b/consul/state/schema.go @@ -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", }, }, }, diff --git a/consul/state/state_store_test.go b/consul/state/state_store_test.go index ae2b82dd69..a82ff1a651 100644 --- a/consul/state/state_store_test.go +++ b/consul/state/state_store_test.go @@ -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, },