Skip to content

Commit

Permalink
checkhybridimage: Fix the produce of the report
Browse files Browse the repository at this point in the history
The actor can produce the report, however the report is never
stored / accepted by the leapp framework as the Report has not been
set in the `produces` tuple. Fixing the actor.
  • Loading branch information
pirat89 committed Mar 24, 2023
1 parent 6aee6d7 commit fbef356
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
from leapp.actors import Actor
from leapp.libraries.actor.checkhybridimage import check_hybrid_image
from leapp.models import FirmwareFacts, HybridImage, InstalledRPM
from leapp.reporting import Report
from leapp.tags import ChecksPhaseTag, IPUWorkflowTag


Expand All @@ -16,7 +17,7 @@ class CheckHybridImage(Actor):

name = 'checkhybridimage'
consumes = (InstalledRPM, FirmwareFacts)
produces = (HybridImage,)
produces = (HybridImage, Report)
tags = (ChecksPhaseTag, IPUWorkflowTag)

def process(self):
Expand Down

0 comments on commit fbef356

Please sign in to comment.