aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--weed/wdclient/exclusive_locks/exclusive_locker.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/weed/wdclient/exclusive_locks/exclusive_locker.go b/weed/wdclient/exclusive_locks/exclusive_locker.go
index 5b5fa2704..0fa138496 100644
--- a/weed/wdclient/exclusive_locks/exclusive_locker.go
+++ b/weed/wdclient/exclusive_locks/exclusive_locker.go
@@ -18,10 +18,10 @@ const (
)
type ExclusiveLocker struct {
- masterClient *wdclient.MasterClient
token int64
lockTsNs int64
isLocking bool
+ masterClient *wdclient.MasterClient
}
func NewExclusiveLocker(masterClient *wdclient.MasterClient) *ExclusiveLocker {