Skip to content
This repository was archived by the owner on Jan 22, 2026. It is now read-only.

Commit f00ee91

Browse files
committed
Don't do an extra unneccessary validation loop.
1 parent ef0b364 commit f00ee91

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

virtinst/VirtualDisk.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -444,7 +444,8 @@ def setup(self, progresscb=None):
444444
if self.vol_object:
445445
return
446446
elif self.vol_install:
447-
self.vol_object = self.vol_install.install(meter=progresscb)
447+
self._set_vol_object(self.vol_install.install(meter=progresscb),
448+
validate=False)
448449
return
449450
elif self.type == VirtualDisk.TYPE_FILE and self.path is not None \
450451
and not os.path.exists(self.path):

0 commit comments

Comments
 (0)