From fe936e13b0d2549272005d20aa5c79c5f91ebb65 Mon Sep 17 00:00:00 2001 From: John Dilley Date: Wed, 4 Nov 2015 18:08:27 +0000 Subject: [PATCH] Use lockid to avoid vlan conflict --- exec/xenrt/resources.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/exec/xenrt/resources.py b/exec/xenrt/resources.py index 8ccd3f347..0dd3c1586 100755 --- a/exec/xenrt/resources.py +++ b/exec/xenrt/resources.py @@ -379,7 +379,7 @@ class CentralResource(object): def acquire(self, id, shared=False): if shared: - self.id = id + self.lockid = id return d = xenrt.TEC().lookup("RESOURCE_LOCK_DIR") if not os.path.exists(d): @@ -422,7 +422,7 @@ class CentralResource(object): f.close() except: pass - self.id = id + self.lockid = id def _listProcess(self,id): d = xenrt.TEC().lookup("RESOURCE_LOCK_DIR") -- 2.39.5