From 78373cb5f7e63cb01730cea1230b99b06d8bb014 Mon Sep 17 00:00:00 2001 From: Maisam Arif Date: Tue, 20 Aug 2024 03:16:49 -0500 Subject: [PATCH] [SWDEV-479989] - Fixed if statement for filtering ecc blocks Signed-off-by: Maisam Arif Change-Id: I4d0c7579257c98be8a4ba8e5a31b5d9db4305844 --- amdsmi_cli/amdsmi_commands.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/amdsmi_cli/amdsmi_commands.py b/amdsmi_cli/amdsmi_commands.py index 9b4be69351..80dbeac7f1 100644 --- a/amdsmi_cli/amdsmi_commands.py +++ b/amdsmi_cli/amdsmi_commands.py @@ -1197,7 +1197,7 @@ class AMDSMICommands(): current_platform_values += [args.usage, args.power, args.clock, args.temperature, args.pcie] # Only args that are applicable to Hypervisors and BM Linux - if self.helpers.is_hypervisor() and (self.helpers.is_baremetal() and self.helpers.is_linux()): + if self.helpers.is_hypervisor() or (self.helpers.is_baremetal() and self.helpers.is_linux()): if ecc: args.ecc = ecc if ecc_blocks: