state/remote: ClientLocker is just a Client that is a state.Locker

This commit is contained in:
Mitchell Hashimoto
2017-02-15 14:27:02 -08:00
parent 9451acc5da
commit 03f6c650ca

View File

@@ -19,9 +19,7 @@ type Client interface {
// backend to enable state lock/unlock.
type ClientLocker interface {
Client
Lock(*state.LockInfo) (string, error)
Unlock(string) error
state.Locker
}
// Payload is the return value from the remote state storage.