diff --git a/types/vault_pool_type.go b/types/vault_pool_type.go index 5758902..572c938 100644 --- a/types/vault_pool_type.go +++ b/types/vault_pool_type.go @@ -29,6 +29,7 @@ func (vp *VaultPool) RetireBackend(b *VaultBackend) { copy(vp.VaultBackends[i:], vp.VaultBackends[i+1:]) vp.VaultBackends[len(vp.VaultBackends)-1] = nil vp.VaultBackends = vp.VaultBackends[:len(vp.VaultBackends)-1] + break } } }