5621d97925
This matches the consul cli behavior, where locks are cleaned up after use. Return an error from re-locking the state. This isn't required by the Locker interface, but it's an added sanity check for state operations. What was incorrect here was returning an empty ID and error, which would indicate that Lock/Unlock isn't supported. |
||
---|---|---|
.. | ||
backend.go | ||
backend_state.go | ||
backend_test.go | ||
client.go | ||
client_test.go |