Skip to content

Commit

Permalink
ART-11446: images-health should report only failures
Browse files Browse the repository at this point in the history
when there are more than one build
  • Loading branch information
mbiarnes committed Dec 20, 2024
1 parent d7bfcd4 commit 5234497
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions doozer/doozerlib/cli/images_health.py
Original file line number Diff line number Diff line change
Expand Up @@ -107,9 +107,13 @@ async def get_concerns(self, image_meta):
elif latest_success_idx > 1:
msg += (f'Last {self.url_text(latest_success_bi_task_url, "success")} '
f'was {latest_success_idx} attempts ago')
elif latest_success_idx == 1:
# Do nothing
pass

# Append the Art-Dash link to the message
msg += f'. {self.url_text(art_dash_link, "Details")}'

self.concerns[key].append(msg)

else:
Expand Down

0 comments on commit 5234497

Please sign in to comment.