Skip to content

Commit

Permalink
Fix some default options
Browse files Browse the repository at this point in the history
  • Loading branch information
Jose Luis Lucas authored and iknite committed Feb 21, 2019
1 parent d156026 commit 77ac9a0
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 5 deletions.
5 changes: 1 addition & 4 deletions api/apihttp/apihttp_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -89,10 +89,7 @@ func (b fakeRaftBalloon) QueryConsistency(start, end uint64) (*balloon.Increment
}

func (b fakeRaftBalloon) Info() map[string]interface{} {
m := make(map[string]interface{})
m["Type"] = "fakeRaftBalloon"
m["LeaderAddr"] = b.raftBindAddr
return m
return make(map[string]interface{})
}

func TestHealthCheckHandler(t *testing.T) {
Expand Down
2 changes: 1 addition & 1 deletion client/config.go
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ type QEDCluster struct {

func DefaultConfig() *Config {
return &Config{
Cluster: QEDCluster{[]string{"127.0.0.1:8800"}, ""},
Cluster: QEDCluster{[]string{"127.0.0.1:8800"}, ""},
APIKey: "my-key",
Insecure: true,
TimeoutSeconds: 10,
Expand Down

0 comments on commit 77ac9a0

Please sign in to comment.