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:
parent
8ccc73d1c3
commit
6c02002cbd
4 changed files with 3 additions and 55 deletions
|
|
@ -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):
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue