[prev in list] [next in list] [prev in thread] [next in thread] 

List:       lnst-developers
Subject:    [PATCH-next 2/2] DevInterruptHWConfigMixin: print id instead of name in the description
From:       olichtne () redhat ! com
Date:       2019-08-16 13:42:55
Message-ID: 20190816134255.21738-2-olichtne () redhat ! com
[Download RAW message or body]

From: Ondrej Lichtner <olichtne@redhat.com>

This should be consistent with what the logs for Device*Results looks
like during the recipe execution.

Signed-off-by: Ondrej Lichtner <olichtne@redhat.com>
---
 lnst/Recipes/ENRT/ConfigMixins/DevInterruptHWConfigMixin.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/lnst/Recipes/ENRT/ConfigMixins/DevInterruptHWConfigMixin.py \
b/lnst/Recipes/ENRT/ConfigMixins/DevInterruptHWConfigMixin.py index afeb67b..57f2543 \
                100644
--- a/lnst/Recipes/ENRT/ConfigMixins/DevInterruptHWConfigMixin.py
+++ b/lnst/Recipes/ENRT/ConfigMixins/DevInterruptHWConfigMixin.py
@@ -56,7 +56,7 @@ def describe_hw_config(self, config):
             ]
             desc += [
                 "{}.{} irqs bound to cpu {}".format(
-                    dev.host.hostid, dev.name, cpu
+                    dev.host.hostid, dev._id, cpu
                 )
                 for dev, cpu in intr_cfg["irq_devs"].items()
             ]
-- 
2.22.1
_______________________________________________
LNST-developers mailing list -- lnst-developers@lists.fedorahosted.org
To unsubscribe send an email to lnst-developers-leave@lists.fedorahosted.org
Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: https://lists.fedorahosted.org/archives/list/lnst-developers@lists.fedorahosted.org



[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic