From 452359154a875d6da9c0873fe86e1d572f0290fa Mon Sep 17 00:00:00 2001 From: powerkimhub Date: Mon, 25 Oct 2021 04:40:27 +0000 Subject: [PATCH] Bug fix: Temporarily Unlocking VM Handling --- api-runtime/common-runtime/CCMCommon.go | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/api-runtime/common-runtime/CCMCommon.go b/api-runtime/common-runtime/CCMCommon.go index 557c75450..2ee3eb6bf 100644 --- a/api-runtime/common-runtime/CCMCommon.go +++ b/api-runtime/common-runtime/CCMCommon.go @@ -612,7 +612,7 @@ func UnregisterResource(connectionName string, rsType string, nameId string) (bo case rsKey: keyRWLock.Lock() defer keyRWLock.Unlock() - //case rsVM: + case rsVM: // vmRWLock.Lock() // defer vmRWLock.Unlock() default: @@ -2489,7 +2489,7 @@ func ListAllResource(connectionName string, rsType string) (AllResourceList, err case rsKey: keyRWLock.RLock() defer keyRWLock.RUnlock() - //case rsVM: + case rsVM: // vmRWLock.RLock() // defer vmRWLock.RUnlock() default: @@ -2695,7 +2695,7 @@ func DeleteResource(connectionName string, rsType string, nameID string, force s case rsKey: keyRWLock.Lock() defer keyRWLock.Unlock() - //case rsVM: + case rsVM: // vmRWLock.Lock() // defer vmRWLock.Unlock() default: