mirror of https://github.com/hashicorp/terraform
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.pull/13430/head
parent
e2a428b43f
commit
5621d97925
Loading…
Reference in new issue