Skip to content

Commit 0c43d31

Browse files
committed
Lock as pointer
Signed-off-by: Vishal Rana <[email protected]>
1 parent 56ca420 commit 0c43d31

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

cube.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ type (
1919
sling *sling.Sling
2020
requests []*CubeRequest
2121
activeRequests int64
22-
mutex sync.RWMutex
22+
mutex *sync.RWMutex
2323
logger *log.Logger
2424

2525
// LabStack Account ID

0 commit comments

Comments
 (0)