Skip to content

Commit

Permalink
change exec -> executable as var name (#1071)
Browse files Browse the repository at this point in the history
  • Loading branch information
nlopezgi authored Aug 9, 2019
1 parent b3c8bc8 commit 3d35a4d
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions container/image.bzl
Original file line number Diff line number Diff line change
Expand Up @@ -307,7 +307,7 @@ def _image_config(

args = []
inputs = []
exec = None
executable = None
if ctx.attr.legacy_create_image_config:
_add_legacy_args(
ctx,
Expand All @@ -328,7 +328,7 @@ def _image_config(
base_manifest,
operating_system,
)
exec = ctx.executable.create_image_config
executable = ctx.executable.create_image_config
else:
_add_go_args(
ctx,
Expand All @@ -349,10 +349,10 @@ def _image_config(
base_manifest,
operating_system,
)
exec = ctx.executable.go_create_image_config
executable = ctx.executable.go_create_image_config

ctx.actions.run(
executable = exec,
executable = executable,
arguments = args,
inputs = inputs,
outputs = [config, manifest],
Expand Down

0 comments on commit 3d35a4d

Please sign in to comment.