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
|
|
@ -38,7 +38,7 @@ class TapeMonitor(osbuild.monitor.BaseMonitor):
|
|||
self.counter["stages"] += 1
|
||||
self.stages.add(stage.id)
|
||||
|
||||
def assembler(self, assembler: osbuild.Assembler):
|
||||
def assembler(self, assembler: osbuild.Stage):
|
||||
self.counter["assembler"] += 1
|
||||
self.asm = assembler.id
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue