← Back to team overview

launchpad-reviewers team mailing list archive

[Merge] ~twom/launchpad:oci-retry-registry-upload-job into launchpad:master

 

Tom Wardill has proposed merging ~twom/launchpad:oci-retry-registry-upload-job into launchpad:master.

Commit message:
Lower logging level to prevent OOPS

Requested reviews:
  Launchpad code reviewers (launchpad-reviewers)

For more details, see:
https://code.launchpad.net/~twom/launchpad/+git/launchpad/+merge/382925
-- 
Your team Launchpad code reviewers is requested to review the proposed merge of ~twom/launchpad:oci-retry-registry-upload-job into launchpad:master.
diff --git a/lib/lp/oci/model/ociregistryclient.py b/lib/lp/oci/model/ociregistryclient.py
index a885cda..2bb82ab 100644
--- a/lib/lp/oci/model/ociregistryclient.py
+++ b/lib/lp/oci/model/ociregistryclient.py
@@ -58,7 +58,7 @@ class OCIRegistryClient:
     @classmethod
     @retry(
         wait=wait_fixed(3),
-        before=before_log(log, logging.WARNING),
+        before=before_log(log, logging.INFO),
         retry=retry_if_exception_type(ConnectionError),
         stop=stop_after_attempt(5))
     def _upload(cls, digest, push_rule, name, fileobj, auth):