From: Michael Tremer Date: Thu, 13 Oct 2022 13:02:09 +0000 (+0000) Subject: builds: Fix submitting comments X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=790b69572ff338b58c7efb4b699ade381b1b02aa;p=pbs.git builds: Fix submitting comments Signed-off-by: Michael Tremer --- diff --git a/src/buildservice/builds.py b/src/buildservice/builds.py index 426041ef..f74668b1 100644 --- a/src/buildservice/builds.py +++ b/src/buildservice/builds.py @@ -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)