Skip to content

Commit

Permalink
print
Browse files Browse the repository at this point in the history
  • Loading branch information
shmuel44 committed Jul 16, 2024
1 parent e059f9f commit b78da47
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions utils/compare_dependency_constraints.py
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,9 @@ def compare_constraints(images_contained_in_native: list[str]):

for discrepancy in discrepancies:
print(str(discrepancy))

print( # noqa: T201
f"::error file=docker/{discrepancy.image}/Dockerfile,line=1,endLine=1,title=Native Image Discrepancy::{discrepancy}"
)
return int(bool(discrepancies))


Expand All @@ -109,5 +111,5 @@ def load_native_image_conf() -> list[str]:
)["native_images"]["native:candidate"]["supported_docker_images"]


if __name__ == '__main__':
if __name__ == "__main__":
sys.exit(compare_constraints(load_native_image_conf()))

0 comments on commit b78da47

Please sign in to comment.