osbuild: resolve TODOs

When an alternative monitor like JSONSeqMonitor is used there is
still non json output printed to stdout. This was a TODO but
this commit removes it because it's okay, there is the
"--monitor-fd" that should be used when using the json-seq monitor.
This commit is contained in:
Michael Vogt 2024-01-24 18:51:37 +01:00 committed by Ondřej Budai
parent f214c69a98
commit 66468a3c58
2 changed files with 1 additions and 4 deletions

View file

@ -335,7 +335,7 @@ class JSONSeqMonitor(BaseMonitor):
# result is for modules
def result(self, result: osbuild.pipeline.BuildResult):
# TODO: check pipeline id?
# we may need to check pipeline ids here in the future
if self._progress.sub_progress:
self._progress.sub_progress.incr()
self.log(f"Finished module {result.name}", origin="org.osbuild.main")