فهرست منبع

Fix passing fs_type list to `utils.check_fs`

Vincze Daniel 4 سال پیش
والد
کامیت
0fc53343ed
1فایلهای تغییر یافته به همراه1 افزوده شده و 1 حذف شده
  1. 1 1
      coriolis/osmorphing/osmount/base.py

+ 1 - 1
coriolis/osmorphing/osmount/base.py

@@ -539,7 +539,7 @@ class BaseLinuxOSMountTools(BaseSSHOSMountTools):
                     utils.run_xfs_repair(self._ssh, dev_path)
                     utils.run_xfs_repair(self._ssh, dev_path)
                 else:
                 else:
                     try:
                     try:
-                        utils.check_fs(self._ssh, fs_type, dev_path)
+                        utils.check_fs(self._ssh, fs_type[0], dev_path)
                     except Exception as err:
                     except Exception as err:
                         self._event_manager.progress_update(
                         self._event_manager.progress_update(
                             "Coriolis failed to check one of the migrated VM's"
                             "Coriolis failed to check one of the migrated VM's"