Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix error in worker declaration example sniplet #14018

Closed
wants to merge 1 commit into from

Conversation

bozaro
Copy link
Contributor

@bozaro bozaro commented Sep 21, 2021

With line:

  executable=ctx.attr.worker,

I got error like:

Error in run: in call to run(), parameter 'executable' got value of type 'Target', want 'File, string, or FilesToRunProvider'

With line:
```
  executable=ctx.attr.worker,
```
I got error like:
```
Error in run: in call to run(), parameter 'executable' got value of type 'Target', want 'File, string, or FilesToRunProvider'
```
@gregestren
Copy link
Contributor

@susinmotion - could you do a quick domain (expert) review?

Copy link
Contributor

@susinmotion susinmotion left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for fixing!

@bazel-io bazel-io closed this in b2a4983 Sep 24, 2021
@bozaro bozaro deleted the patch-1 branch September 25, 2021 07:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants