Skip to content

Commit a07b776

Browse files
committed
chore: lint
1 parent 302b099 commit a07b776

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

modules/globallock/redis_locker.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -103,7 +103,7 @@ func (l *redisLocker) lock(ctx context.Context, key string, tries int) (context.
103103

104104
func (l *redisLocker) startExtend() {
105105
toExtend := make([]*redisMutex, 0)
106-
l.mutexM.Range(func(_, value interface{}) bool {
106+
l.mutexM.Range(func(_, value any) bool {
107107
m := value.(*redisMutex)
108108

109109
// Extend the lock if it is not expired.

0 commit comments

Comments
 (0)