Skip to content

Commit

Permalink
build: Pin goimports to working version (argoproj#3311)
Browse files Browse the repository at this point in the history
  • Loading branch information
alexec authored Jun 25, 2020
1 parent 436c125 commit 633ea71
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion config/node_events_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -11,4 +11,4 @@ func TestNodeEvents_IsEnabled(t *testing.T) {
assert.True(t, NodeEvents{}.IsEnabled())
assert.False(t, NodeEvents{Enabled: pointer.BoolPtr(false)}.IsEnabled())
assert.True(t, NodeEvents{Enabled: pointer.BoolPtr(true)}.IsEnabled())
}
}
2 changes: 1 addition & 1 deletion hack/generate-proto.sh
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ go get github.com/grpc-ecosystem/grpc-gateway/[email protected]
go get github.com/gogo/protobuf/[email protected]
go get github.com/gogo/protobuf/[email protected]
go get github.com/gogo/protobuf/[email protected]
go get golang.org/x/tools/cmd/goimports
go get golang.org/x/tools/cmd/goimports@v0.0.0-20200428211428-0c9eba77bc32
go install k8s.io/code-generator/cmd/go-to-protobuf
go-to-protobuf \
--go-header-file=./hack/custom-boilerplate.go.txt \
Expand Down
2 changes: 1 addition & 1 deletion util/grpc/errors.go
Original file line number Diff line number Diff line change
Expand Up @@ -31,4 +31,4 @@ func TranslateError(err error) error {
return status.Error(codes.Internal, err.Error())
}
return err
}
}

0 comments on commit 633ea71

Please sign in to comment.