]> git.ipfire.org Git - pbs.git/commitdiff
builds: Fix submitting comments
authorMichael Tremer <michael.tremer@ipfire.org>
Thu, 13 Oct 2022 13:02:09 +0000 (13:02 +0000)
committerMichael Tremer <michael.tremer@ipfire.org>
Thu, 13 Oct 2022 13:02:09 +0000 (13:02 +0000)
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
src/buildservice/builds.py

index 426041ef84ff9b7a5e646148bc8f398028c9e87c..f74668b17b8fc6b3a1429c15ccdc5992096694c3 100644 (file)
@@ -481,7 +481,7 @@ class Build(base.DataObject):
                        Submits a comment
                """
                # Create a new comment
-               comment = self.backend.builds.comments.create(build, *args, **kwargs)
+               comment = self.backend.builds.comments.create(self, *args, **kwargs)
 
                # Add to cache
                self.comments.append(comment)