From ee772d59a0eb639e45661ee2db5336fcbd0375bb Mon Sep 17 00:00:00 2001 From: XuWei Date: Wed, 11 Apr 2018 04:46:13 -0400 Subject: [PATCH] fix issue args pass for rflash activate --- .../lib/python/agent/hwctl/executor/openbmc_flash.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/xCAT-openbmc-py/lib/python/agent/hwctl/executor/openbmc_flash.py b/xCAT-openbmc-py/lib/python/agent/hwctl/executor/openbmc_flash.py index ffaa051a1..e24a70031 100644 --- a/xCAT-openbmc-py/lib/python/agent/hwctl/executor/openbmc_flash.py +++ b/xCAT-openbmc-py/lib/python/agent/hwctl/executor/openbmc_flash.py @@ -98,7 +98,7 @@ class OpenBMCFlashTask(ParallelNodesCommand): os.makedirs(XCAT_LOG_RFLASH_DIR) if activate_arg.endswith('.tar'): - version = self._get_firmware_version() + version = self._get_firmware_version(self.firmware_file) self.firmware.update(version) self.callback.info('Attempting to upload %s, please wait...' % self.firmware_file) else: