From 5e51626069dd7d5e38f36cafdd45f14cfb213e5d Mon Sep 17 00:00:00 2001 From: Evgeni Golov Date: Thu, 25 Apr 2024 14:59:55 +0200 Subject: [PATCH 20/34] mention `Report` in produces of transitionsystemdservicesstates (#1210) fixes upgrade warnings: leapp.workflow.Applications.transition_systemd_services_states: Actor is trying to produce a message of type "" without mentioning it explicitely in the actor's "produces" tuple. The message will be ignored --- .../actors/systemd/transitionsystemdservicesstates/actor.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/repos/system_upgrade/common/actors/systemd/transitionsystemdservicesstates/actor.py b/repos/system_upgrade/common/actors/systemd/transitionsystemdservicesstates/actor.py index 139f9f6b..d2863e09 100644 --- a/repos/system_upgrade/common/actors/systemd/transitionsystemdservicesstates/actor.py +++ b/repos/system_upgrade/common/actors/systemd/transitionsystemdservicesstates/actor.py @@ -7,6 +7,7 @@ from leapp.models import ( SystemdServicesPresetInfoTarget, SystemdServicesTasks ) +from leapp.reporting import Report from leapp.tags import ApplicationsPhaseTag, IPUWorkflowTag @@ -46,7 +47,7 @@ class TransitionSystemdServicesStates(Actor): SystemdServicesPresetInfoSource, SystemdServicesPresetInfoTarget ) - produces = (SystemdServicesTasks,) + produces = (Report, SystemdServicesTasks) tags = (ApplicationsPhaseTag, IPUWorkflowTag) def process(self): -- 2.42.0