Skip to content

Commit

Permalink
cmd/pool+tools: update Go version of linter, fix issues
Browse files Browse the repository at this point in the history
  • Loading branch information
guggero committed May 31, 2024
1 parent d1001f8 commit 459a475
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 3 deletions.
2 changes: 0 additions & 2 deletions cmd/pool/order.go
Original file line number Diff line number Diff line change
Expand Up @@ -499,7 +499,6 @@ func parseAccountKey(ctx *cli.Context, args cli.Args) ([]byte, error) {
acctKeyStr = ctx.String("acct_key")
case args.Present():
acctKeyStr = args.First()
args = args.Tail()
default:
return nil, fmt.Errorf("acct_key argument missing")
}
Expand Down Expand Up @@ -1004,7 +1003,6 @@ func ordersCancel(ctx *cli.Context) error { // nolint: dupl
nonceHex = ctx.String("order_nonce")
case args.Present():
nonceHex = args.First()
args = args.Tail()
default:
return fmt.Errorf("order_nonce argument missing")
}
Expand Down
2 changes: 1 addition & 1 deletion tools/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM golang:1.19.4
FROM golang:1.22.3-bookworm

RUN apt-get update && apt-get install -y git
ENV GOCACHE=/tmp/build/.cache
Expand Down

0 comments on commit 459a475

Please sign in to comment.