Skip to content

Commit

Permalink
CHANGELOG update, gofmt
Browse files Browse the repository at this point in the history
  • Loading branch information
armon committed Jan 22, 2015
1 parent e33c31a commit 17d1c39
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 6 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,7 @@ BUG FIXES:
* Fixed memory leaks in API client when an error response is returned [GH-608]
* Fixed issues with graceful leave in single-node bootstrap cluster [GH-621]
* Fixed issue preventing node reaping [GH-371]
* Fixed gossip stability at very large scale

IMPROVEMENTS:

Expand Down
12 changes: 6 additions & 6 deletions api/agent_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -45,9 +45,9 @@ func TestAgent_Services(t *testing.T) {
agent := c.Agent()

reg := &AgentServiceRegistration{
Name: "foo",
Tags: []string{"bar", "baz"},
Port: 8000,
Name: "foo",
Tags: []string{"bar", "baz"},
Port: 8000,
Check: &AgentServiceCheck{
TTL: "15s",
},
Expand Down Expand Up @@ -89,8 +89,8 @@ func TestAgent_ServiceAddress(t *testing.T) {
Address: "192.168.0.42",
}
reg2 := &AgentServiceRegistration{
Name: "foo2",
Port: 8000,
Name: "foo2",
Port: 8000,
}
if err := agent.ServiceRegister(reg1); err != nil {
t.Fatalf("err: %v", err)
Expand All @@ -103,7 +103,7 @@ func TestAgent_ServiceAddress(t *testing.T) {
if err != nil {
t.Fatalf("err: %v", err)
}

if _, ok := services["foo1"]; !ok {
t.Fatalf("missing service: %v", services)
}
Expand Down

0 comments on commit 17d1c39

Please sign in to comment.