Skip to content

Commit

Permalink
relax regex search of docker logs (#1157)
Browse files Browse the repository at this point in the history
  • Loading branch information
kartikey-vyas committed Jun 10, 2024
1 parent a694a5b commit 10ee036
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ersilia/hub/pull/pull.py
Original file line number Diff line number Diff line change
Expand Up @@ -119,7 +119,7 @@ def pull(self):
with open(tmp_file, "r") as f:
pull_log = f.read()
self.logger.debug(pull_log)
if re.search(r"no match.*platform.*manifest", pull_log):
if re.search(r"no match.*manifest", pull_log):
self.logger.warning("No matching manifest for image {0}".format(self.model_id))
raise DockerConventionalPullError(model=self.model_id)
self.logger.debug("Image pulled succesfully!")
Expand Down

0 comments on commit 10ee036

Please sign in to comment.