diff --git a/cmd/ipfs2/main.go b/cmd/ipfs2/main.go index 58133c4f0..ce62a791f 100644 --- a/cmd/ipfs2/main.go +++ b/cmd/ipfs2/main.go @@ -1,7 +1,6 @@ package main import ( - "errors" "fmt" "io" "os" @@ -22,7 +21,7 @@ import ( daemon "github.com/jbenet/go-ipfs/daemon2" updates "github.com/jbenet/go-ipfs/updates" u "github.com/jbenet/go-ipfs/util" - "github.com/jbenet/go-ipfs/util/debugerror" + errors "github.com/jbenet/go-ipfs/util/debugerror" elog "github.com/jbenet/go-ipfs/util/elog" ) @@ -321,7 +320,7 @@ func commandDetails(path []string, root *cmds.Command) (*cmdDetails, error) { var found bool cmd, found = cmd.Subcommands[cmp] if !found { - return nil, debugerror.Errorf("subcommand %s should be in root", cmp) + return nil, errors.Errorf("subcommand %s should be in root", cmp) } if cmdDetails, found := cmdDetailsMap[cmd]; found {