Skip to content

Commit

Permalink
mention Report in produces of transitionsystemdservicesstates (#1210)
Browse files Browse the repository at this point in the history
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
  • Loading branch information
evgeni authored Apr 25, 2024
1 parent a5bd254 commit 5e51626
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 5e51626

Please sign in to comment.