Skip to content

Commit

Permalink
Merge pull request ipfs/kubo#4724 from ipfs/gx/update-cmds
Browse files Browse the repository at this point in the history
update go-ipfs-cmds

This commit was moved from ipfs/kubo@95f308d
  • Loading branch information
whyrusleeping authored Feb 21, 2018
2 parents f7388cc + e2c25f9 commit 2d0f1b9
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions gateway/core/corehttp/commands.go
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,8 @@ import (
path "github.com/ipfs/go-ipfs/path"
config "github.com/ipfs/go-ipfs/repo/config"

cmds "gx/ipfs/QmZ9hww8R3FKrDRCYPxhN13m6XgjPDpaSvdUfisPvERzXz/go-ipfs-cmds"
cmdsHttp "gx/ipfs/QmZ9hww8R3FKrDRCYPxhN13m6XgjPDpaSvdUfisPvERzXz/go-ipfs-cmds/http"
cmds "gx/ipfs/QmabLouZTZwhfALuBcssPvkzhbYGMb4394huT7HY4LQ6d3/go-ipfs-cmds"
cmdsHttp "gx/ipfs/QmabLouZTZwhfALuBcssPvkzhbYGMb4394huT7HY4LQ6d3/go-ipfs-cmds/http"
)

var (
Expand Down
2 changes: 1 addition & 1 deletion gateway/core/corehttp/metrics_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,6 @@ func TestPeersTotal(t *testing.T) {
t.Fatalf("expected 1 peers transport, got %d", len(actual))
}
if actual["/ip4/tcp"] != float64(3) {
t.Fatalf("expected 3 peers, got %s", actual["/ip4/tcp"])
t.Fatalf("expected 3 peers, got %f", actual["/ip4/tcp"])
}
}

0 comments on commit 2d0f1b9

Please sign in to comment.