Skip to content

Commit

Permalink
update go-btfs-cmds
Browse files Browse the repository at this point in the history
  • Loading branch information
Robin committed Feb 24, 2021
1 parent 4608ca2 commit 194782f
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion cmd/btfs/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -225,7 +225,7 @@ func makeExecutor(req *cmds.Request, env interface{}) (cmds.Executor, error) {
daemonRequested := apiAddr != nil && req.Command != daemonCmd

// Run this on the client if required.
if !cmdhttp.Accessible(req.Command) {
if !cmdhttp.RemoteAccessible(req.Command) {
if daemonRequested {
// User requested that the command be run on the daemon but we can't.
// NOTE: We drop this check for the `ipfs daemon` command.
Expand Down
2 changes: 1 addition & 1 deletion go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ require (
github.com/FactomProject/btcutilecc v0.0.0-20130527213604-d3a63a5752ec // indirect
github.com/TRON-US/go-btfs-api v0.3.0
github.com/TRON-US/go-btfs-chunker v0.3.0
github.com/TRON-US/go-btfs-cmds v0.2.11-Pre1
github.com/TRON-US/go-btfs-cmds v0.2.11
github.com/TRON-US/go-btfs-config v0.7.0
github.com/TRON-US/go-btfs-files v0.2.0
github.com/TRON-US/go-btfs-pinner v0.1.1
Expand Down
4 changes: 2 additions & 2 deletions go.sum
Original file line number Diff line number Diff line change
Expand Up @@ -84,8 +84,8 @@ github.com/TRON-US/go-btfs-api v0.3.0 h1:oTnzpvYC8t6ppCRg2lCMkWiKq3SpL6r861+UUGv
github.com/TRON-US/go-btfs-api v0.3.0/go.mod h1:surmr8ztnpbVY7y2H7dbb7npNXfdaV0UH6cFwhtJPw0=
github.com/TRON-US/go-btfs-chunker v0.3.0 h1:06/rAYKtC3BQRYVxMtEKvqFFHhSB+XKcqt3JZ0CjD4o=
github.com/TRON-US/go-btfs-chunker v0.3.0/go.mod h1:m0xvt42kqLskWsLF6SQ51AA9cqPzWoweydOcDgSDX/U=
github.com/TRON-US/go-btfs-cmds v0.2.11-Pre1 h1:Rr/9L4sdFN9QjYTkbUtpVd6hzDZWQpZ/HdNaAldaxsM=
github.com/TRON-US/go-btfs-cmds v0.2.11-Pre1/go.mod h1:GLPyQ0EX9JiL41IZd6yRr42RlxNHovp4V4gXZNE2Rfk=
github.com/TRON-US/go-btfs-cmds v0.2.11 h1:DMyJBz2yyNWWofTPHRf4bjiDC/6NyLN6myTv1SELzf8=
github.com/TRON-US/go-btfs-cmds v0.2.11/go.mod h1:GLPyQ0EX9JiL41IZd6yRr42RlxNHovp4V4gXZNE2Rfk=
github.com/TRON-US/go-btfs-config v0.6.0/go.mod h1:82nKCMRhsgY0I8DCasIUpSr6ZP9iHLsZJSMUxytMpEw=
github.com/TRON-US/go-btfs-config v0.7.0 h1:v1O6ggE71k3a6KuwfUgbqFFPMJkZymvyORXDquQTKl8=
github.com/TRON-US/go-btfs-config v0.7.0/go.mod h1:9y6osJENDCjulSNJjSSt1J8OK+ADRatBdYPXRDewbko=
Expand Down

0 comments on commit 194782f

Please sign in to comment.