]> git.ipfire.org Git - pbs.git/commitdiff
sources: Fix call to launch builds
authorMichael Tremer <michael.tremer@ipfire.org>
Fri, 18 Aug 2023 16:00:52 +0000 (16:00 +0000)
committerMichael Tremer <michael.tremer@ipfire.org>
Fri, 18 Aug 2023 16:00:52 +0000 (16:00 +0000)
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
src/buildservice/sources.py

index 6aa21a94a9d8c17191715eac77ceec9926b25f7c..c07d0c39f8bca0dd6b776beddfe01329eaedd1fe 100644 (file)
@@ -835,7 +835,7 @@ class Job(base.DataObject):
                                build.add_watcher(user)
 
                        # Launch the build
-                       await self.backend.builds.launch(build)
+                       await self.backend.builds.launch([build])
 
                # Catch any exceptions and log them
                except Exception as e: