You are an expert in writing code in many different languages. Your goal is to perform code completion for the following code, keeping in mind the rest of the code and the file meta data.
    Metadata details:
    filename: distributed_lock_manager.go
    path of file: ./repos/seaweedfs/weed/cluster/lock_manager
    
    the code of the file until where you have to start completion: package lock_manager

import (
	"fmt"
	"github.com/seaweedfs/seaweedfs/weed/pb"
	"time"
)

const MaxDuration = 1<<63 - 1

var NoLockServerError = fmt.Errorf("no lock server found")

type DistributedLock
    
func (dlm *DistributedLockManager) findLockOwningFiler(key string) (movedTo pb.ServerAddress, err error) {
	servers := dlm.LockRing.GetSnapshot()
	if servers == nil {
		err = NoLockServerError
		return
	}

	movedTo = hashKeyToServer(key, servers)
	return
}