hashicorp / vault-client-go

HashiCorp Vault Go Client Library generated from OpenAPI spec.
Mozilla Public License 2.0
84 stars 17 forks source link

Consolidate /sys/health error checks #221

Closed averche closed 1 year ago

averche commented 1 year ago

Description

https://github.com/hashicorp/vault-client-go/pull/220 introduced a couple more corner cases for /sys/health error checks. Wrapping them into the original if check per https://github.com/hashicorp/vault-client-go/pull/220#issuecomment-1656026608.