Fix calling name
This commit is contained in:
		@@ -19,7 +19,7 @@ class VMInstance:
 | 
			
		||||
        self.inmigrate = False
 | 
			
		||||
        self.inreceive = False
 | 
			
		||||
 | 
			
		||||
        self.dom = pvcdomf.lookupByUUID(self.domuuid)
 | 
			
		||||
        self.dom = pvcf.lookupByUUID(self.domuuid)
 | 
			
		||||
 | 
			
		||||
        # Watch for changes to the hypervisor field in Zookeeper
 | 
			
		||||
        @zk.DataWatch(self.zkey + '/hypervisor')
 | 
			
		||||
@@ -150,7 +150,7 @@ class VMInstance:
 | 
			
		||||
        print('>>> %s - Receiving migration' % self.domuuid)
 | 
			
		||||
        self.inreceive = True
 | 
			
		||||
        while True:
 | 
			
		||||
            self.dom = pvcdomf.lookupByUUID(self.domuuid)
 | 
			
		||||
            self.dom = pvcf.lookupByUUID(self.domuuid)
 | 
			
		||||
            if self.dom == None:
 | 
			
		||||
                time.sleep(0.2)
 | 
			
		||||
                continue
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user