diff --git a/protoc-gen-swagger/defs.bzl b/protoc-gen-swagger/defs.bzl index a7a8c858ac2..b8e54ec6bf2 100644 --- a/protoc-gen-swagger/defs.bzl +++ b/protoc-gen-swagger/defs.bzl @@ -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", ),