Does some go fmt after latest round of changes.

pull/1291/head
James Phillips 9 years ago
parent 57c102a7f1
commit fab8672543

@ -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)

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

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

Loading…
Cancel
Save