File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -314,7 +314,7 @@ def imported_vm(host, vm_ref):
314
314
name = vm_orig .name ()
315
315
logging .info (">> Reuse VM %s (%s) on host %s" % (vm_ref , name , host ))
316
316
else :
317
- vm_orig = host .import_vm (vm_ref , host .main_sr (), use_cache = CACHE_IMPORTED_VM )
317
+ vm_orig = host .import_vm (vm_ref , host .main_sr_uuid (), use_cache = CACHE_IMPORTED_VM )
318
318
319
319
if CACHE_IMPORTED_VM :
320
320
# Clone the VM before running tests, so that the original VM remains untouched
Original file line number Diff line number Diff line change @@ -460,7 +460,7 @@ def local_vm_srs(self):
460
460
srs .append (sr )
461
461
return srs
462
462
463
- def main_sr (self ):
463
+ def main_sr_uuid (self ):
464
464
""" Main SR is either the default SR, or the first local SR, depending on data.py's DEFAULT_SR. """
465
465
try :
466
466
from data import DEFAULT_SR
You can’t perform that action at this time.
0 commit comments