Lokasi ngalangkungan proxy:   [ UP ]  
[Ngawartoskeun bug]   [Panyetelan cookie]                
Skip to content

Commit 03f6c65

Browse files
committed
state/remote: ClientLocker is just a Client that is a state.Locker
1 parent 9451acc commit 03f6c65

1 file changed

Lines changed: 1 addition & 3 deletions

File tree

state/remote/remote.go

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -19,9 +19,7 @@ type Client interface {
1919
// backend to enable state lock/unlock.
2020
type ClientLocker interface {
2121
Client
22-
23-
Lock(*state.LockInfo) (string, error)
24-
Unlock(string) error
22+
state.Locker
2523
}
2624

2725
// Payload is the return value from the remote state storage.

0 commit comments

Comments
 (0)