Skip to content

Commit

Permalink
Use repo relative labels in protoc-gen-swagger
Browse files Browse the repository at this point in the history
Previously this was breaking when imported into projects which imported the project by the name `com_github_grpc_ecosystem_grpc_gateway`.
  • Loading branch information
achew22 committed Apr 29, 2018
1 parent 3beac66 commit 87a1b0c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion protoc-gen-swagger/defs.bzl
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ protoc_gen_swagger = rule(
allow_files = True,
),
"_protoc_gen_swagger": attr.label(
default = Label("@grpc_ecosystem_grpc_gateway//protoc-gen-swagger:protoc-gen-swagger"),
default = Label("//protoc-gen-swagger:protoc-gen-swagger"),
executable = True,
cfg = "host",
),
Expand Down

0 comments on commit 87a1b0c

Please sign in to comment.