SWDEV-457845: Fix Linux VM clean_local_data error on set

Corrected clean_local_data error in Linux VM's while doing
amd-smi set without args.

Signed-off-by: Bindhiya Kanangot Balakrishnan <Bindhiya.KanangotBalakrishnan@amd.com>

[ROCm/amdsmi commit: 834993e1c3]
This commit is contained in:
Kanangot Balakrishnan, Bindhiya
2025-01-20 14:45:27 -06:00
committed by GitHub
parent d981f5db8e
commit d31107d110
@@ -4559,7 +4559,7 @@ class AMDSMICommands():
command = " ".join(sys.argv[1:])
raise AmdSmiRequiredCommandException(command, self.logger.format)
else:
if not any([args.clean_local_data]):
if not any([args.process_isolation is not None, args.clk_limit is not None]):
command = " ".join(sys.argv[1:])
raise AmdSmiRequiredCommandException(command, self.logger.format)