Commit d130adcc authored by Antoine Millet's avatar Antoine Millet
Browse files

Removed call to _check_status method

parent f4013899
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -314,7 +314,7 @@ class ColdMigrationJob(BaseMigrationJob):
            logging.info('Job-%s: Locks acquired', self['id'])
            self.checkpoint()

            if not self._check_status(vm_id, 'stopped'):
            if not vm['status'] == 'stopped':
                raise JobCancelError('vm is not stopped')

            # Create storages on destination: