From df80da0838596a981ee61a80aa20b4bf118ae493 Mon Sep 17 00:00:00 2001 From: "lalit@lalitadithya.com" Date: Sat, 16 Jan 2021 10:59:09 +0530 Subject: [PATCH] Fix typo Signed-off-by: lalit@lalitadithya.com --- pkg/internal/vault/vault.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkg/internal/vault/vault.go b/pkg/internal/vault/vault.go index b6283be62..f0cdcb293 100644 --- a/pkg/internal/vault/vault.go +++ b/pkg/internal/vault/vault.go @@ -377,8 +377,8 @@ func extractCertificatesFromVaultCertificateSecret(secret *certutil.Secret) ([]b func (v *Vault) IsVaultInitializedAndUnsealed() error { healthURL := path.Join("/v1", "sys", "health") - heatlhRequest := v.client.NewRequest("GET", healthURL) - healthResp, err := v.client.RawRequest(heatlhRequest) + healthRequest := v.client.NewRequest("GET", healthURL) + healthResp, err := v.client.RawRequest(healthRequest) // 429 = if unsealed and standby // 472 = if disaster recovery mode replication secondary and active // 473 = if performance standby