Skip to content

Commit

Permalink
parser: pin pkg/security as a bazel dep for pkg/parser
Browse files Browse the repository at this point in the history
We picked up a dependency on pkg/security within the parser package
after cockroachdb#55398.

We have to pin go dependencies by hand if they're only present in
auto-generated code. It's because it's not otherwise visible to
bazel/gazelle when generating the BUILD files (during the analysis
phase).

Release note: None
  • Loading branch information
irfansharif committed Oct 28, 2020
1 parent aefd45e commit b7ed581
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions pkg/sql/parser/BUILD.bazel
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@ go_library(
"//pkg/docs",
"//pkg/geo/geopb", # keep
"//pkg/roachpb", # keep
"//pkg/security", # keep
"//pkg/sql/lex",
"//pkg/sql/lexbase:lex",
"//pkg/sql/pgwire/pgcode",
Expand Down

0 comments on commit b7ed581

Please sign in to comment.