Skip to content

Commit

Permalink
dont convert to lower case bfore matching regexp
Browse files Browse the repository at this point in the history
  • Loading branch information
bisgaard-itis committed Sep 29, 2023
1 parent ccddc3f commit 71fac55
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -160,7 +160,7 @@ async def _try_parse_progress(line: str, *, image_labels: ImageLabels) -> float
with contextlib.suppress(arrow.ParserError):
if len(splitted_log) == 2 and arrow.get(splitted_log[0]):
log = splitted_log[1]
if match := re.search(image_labels.progress_regexp, log.lower()):
if match := re.search(image_labels.progress_regexp, log):
return _guess_progress_value(match)

return None
Expand Down

0 comments on commit 71fac55

Please sign in to comment.