pipeline: remove Assembler class

Now that assemblers are represented via the `Stage` class, the
Assembler class is not needed anymore. Adjust the monitor method
to take an `pipeline.Stage` for the `assembler` method as well.
This commit is contained in:
Christian Kellner 2021-01-18 17:40:54 +00:00
parent 8ccc73d1c3
commit 6c02002cbd
4 changed files with 3 additions and 55 deletions

View file

@ -66,7 +66,7 @@ class BaseMonitor(abc.ABC):
def stage(self, stage: osbuild.Stage):
"""Called when a stage is being built"""
def assembler(self, assembler: osbuild.Assembler):
def assembler(self, assembler: osbuild.Stage):
"""Called when an assembler is being built"""
def result(self, result: osbuild.pipeline.BuildResult):