Does some go fmt after latest round of changes.

This commit is contained in:
James Phillips 2015-10-14 11:36:35 -07:00
parent 57c102a7f1
commit fab8672543
3 changed files with 11 additions and 11 deletions

View File

@ -209,7 +209,7 @@ func TestStateStore_GC(t *testing.T) {
}
d := &structs.DirEntry{
Key: "lock",
Session: session.ID,
Session: session.ID,
}
if ok, err := s.KVSLock(11, d); !ok || err != nil {
t.Fatalf("err: %v", err)

View File

@ -211,14 +211,14 @@ func TestWatch_PrefixWatch(t *testing.T) {
}
type MockWatch struct {
Waits map[chan struct{}] int
Clears map[chan struct{}] int
Waits map[chan struct{}]int
Clears map[chan struct{}]int
}
func NewMockWatch() *MockWatch {
return &MockWatch{
Waits: make(map[chan struct{}] int),
Clears: make(map[chan struct{}] int),
Waits: make(map[chan struct{}]int),
Clears: make(map[chan struct{}]int),
}
}

View File

@ -259,13 +259,13 @@ func (s *ServiceNode) Clone() *ServiceNode {
copy(tags, s.ServiceTags)
return &ServiceNode{
Node: s.Node,
Address: s.Address,
ServiceID: s.ServiceID,
ServiceName: s.ServiceName,
ServiceTags: tags,
Node: s.Node,
Address: s.Address,
ServiceID: s.ServiceID,
ServiceName: s.ServiceName,
ServiceTags: tags,
ServiceAddress: s.ServiceAddress,
ServicePort: s.ServicePort,
ServicePort: s.ServicePort,
RaftIndex: RaftIndex{
CreateIndex: s.CreateIndex,
ModifyIndex: s.ModifyIndex,