Skip to content

Commit

Permalink
mention Report in produces of transitionsystemdservicesstates (oamg…
Browse files Browse the repository at this point in the history
…#1210)

fixes upgrade warnings:

     leapp.workflow.Applications.transition_systemd_services_states: Actor is trying to produce a message of type "<class 'leapp.reporting.Report'>" without mentioning it explicitely in the actor's "produces" tuple. The message will be ignored

(cherry picked from commit 5e51626)
  • Loading branch information
evgeni authored and yuravk committed Aug 20, 2024
1 parent b35b376 commit 53bea19
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
SystemdServicesPresetInfoTarget,
SystemdServicesTasks
)
from leapp.reporting import Report
from leapp.tags import ApplicationsPhaseTag, IPUWorkflowTag


Expand Down Expand Up @@ -46,7 +47,7 @@ class TransitionSystemdServicesStates(Actor):
SystemdServicesPresetInfoSource,
SystemdServicesPresetInfoTarget
)
produces = (SystemdServicesTasks,)
produces = (Report, SystemdServicesTasks)
tags = (ApplicationsPhaseTag, IPUWorkflowTag)

def process(self):
Expand Down

0 comments on commit 53bea19

Please sign in to comment.