From 35afb7bc86078500a891bde3fcc74da0e667fb50 Mon Sep 17 00:00:00 2001 From: Mitchell Hashimoto Date: Wed, 1 Mar 2017 23:01:28 -0800 Subject: [PATCH] backend/consul: some comments --- backend/remote-state/consul/backend_state.go | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/backend/remote-state/consul/backend_state.go b/backend/remote-state/consul/backend_state.go index d64a8955d..6e6d115f0 100644 --- a/backend/remote-state/consul/backend_state.go +++ b/backend/remote-state/consul/backend_state.go @@ -69,7 +69,8 @@ func (b *Backend) DeleteState(name string) error { // Determine the path of the data path := b.path(name) - // Delete it + // Delete it. We just delete it without any locking since + // the DeleteState API is documented as such. _, err = client.KV().Delete(path, nil) return err }