Skip to content

Commit

Permalink
fix: correct typo in error message (#106)
Browse files Browse the repository at this point in the history
  • Loading branch information
mgred authored Mar 17, 2023
1 parent a66598d commit f5f825d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion oci/private/image.bzl
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ def _platform_str(os, arch, variant = None):
def _oci_image_impl(ctx):
if not ctx.attr.base:
if not ctx.attr.os or not ctx.attr.architecture:
fail("os and architecture is mandatory when base in unspecified.")
fail("os and architecture is mandatory when base is unspecified.")

crane = ctx.toolchains["@rules_oci//oci:crane_toolchain_type"]
registry = ctx.toolchains["@rules_oci//oci:registry_toolchain_type"]
Expand Down

0 comments on commit f5f825d

Please sign in to comment.