From 03f6c650ca9e78fc0d80d430ca1ec2a52c262da4 Mon Sep 17 00:00:00 2001 From: Mitchell Hashimoto Date: Wed, 15 Feb 2017 14:27:02 -0800 Subject: [PATCH] state/remote: ClientLocker is just a Client that is a state.Locker --- state/remote/remote.go | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/state/remote/remote.go b/state/remote/remote.go index 8bf99c2310..414c115e9c 100644 --- a/state/remote/remote.go +++ b/state/remote/remote.go @@ -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.