← Back to team overview

canonical-ubuntu-qa team mailing list archive

[Merge] ~andersson123/autopkgtest-cloud:download-results-fix-lambda into autopkgtest-cloud:master

 

Tim Andersson has proposed merging ~andersson123/autopkgtest-cloud:download-results-fix-lambda into autopkgtest-cloud:master.

Requested reviews:
  Canonical's Ubuntu QA (canonical-ubuntu-qa)

For more details, see:
https://code.launchpad.net/~andersson123/autopkgtest-cloud/+git/autopkgtest-cloud/+merge/462395
-- 
Your team Canonical's Ubuntu QA is requested to review the proposed merge of ~andersson123/autopkgtest-cloud:download-results-fix-lambda into autopkgtest-cloud:master.
diff --git a/charms/focal/autopkgtest-web/webcontrol/download-results b/charms/focal/autopkgtest-web/webcontrol/download-results
index dd7087f..ac19f39 100755
--- a/charms/focal/autopkgtest-web/webcontrol/download-results
+++ b/charms/focal/autopkgtest-web/webcontrol/download-results
@@ -136,6 +136,6 @@ if __name__ == "__main__":
     status_ch.queue_bind(queue_name, EXCHANGE_NAME, queue_name)
 
     logging.info("Listening to requests on %s" % queue_name)
-    status_ch.basic_consume("", callback=lambda msg: process_message)
+    status_ch.basic_consume("", callback=process_message)
     while status_ch.callbacks:
         status_ch.wait()