Skip to content

Commit

Permalink
Bugfix: wrong argument once again (#687)
Browse files Browse the repository at this point in the history
Signed-off-by: Matthias Büchse <[email protected]>
  • Loading branch information
mbuechse authored Aug 5, 2024
1 parent a2a8c28 commit 8d4c9f6
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion Tests/iaas/image-metadata/image-md-check.py
Original file line number Diff line number Diff line change
Expand Up @@ -200,7 +200,10 @@ def validate_imageMD(img, outd_list):
# (1) recommended os_* and hw_*
# (4) image_build_date, image_original_user, image_source (opt image_description)
# (5) maintained_until, provided_until, uuid_validity, replace_frequency
for prop in (*os_props, *arch_props, *hw_props, *build_props, *maint_props):
for prop in (*os_props, *arch_props, *hw_props):
if not prop.is_ok(img, imgnm):
errors += 1
for prop in (*build_props, *maint_props):
if not prop.is_ok(img.properties, imgnm):
errors += 1
constr_name = f"{img.os_distro} {img.os_version}"
Expand Down

0 comments on commit 8d4c9f6

Please sign in to comment.