Skip to content

Commit

Permalink
Bug fix: Temporarily Unlocking VM Handling
Browse files Browse the repository at this point in the history
  • Loading branch information
powerkimhub committed Oct 25, 2021
1 parent f40c234 commit 4523591
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions api-runtime/common-runtime/CCMCommon.go
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down Expand Up @@ -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:
Expand Down Expand Up @@ -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:
Expand Down

0 comments on commit 4523591

Please sign in to comment.