From d20b01966a2ed060b23c4eb9be46ba3ce14986dc Mon Sep 17 00:00:00 2001 From: mrrishi Date: Wed, 9 Oct 2024 01:37:02 +0530 Subject: [PATCH] fix:remove parameters for vault new version --- internal/vault/autounseal.go | 2 -- 1 file changed, 2 deletions(-) diff --git a/internal/vault/autounseal.go b/internal/vault/autounseal.go index bcb2a4be..df0bfeef 100644 --- a/internal/vault/autounseal.go +++ b/internal/vault/autounseal.go @@ -31,8 +31,6 @@ func (conf *Configuration) AutoUnseal() (*vaultapi.InitResponse, error) { initResponse, err := vaultClient.Sys().Init(&vaultapi.InitRequest{ RecoveryShares: RecoveryShares, RecoveryThreshold: RecoveryThreshold, - SecretShares: SecretShares, - SecretThreshold: SecretThreshold, }) if err != nil { return nil, fmt.Errorf("error initializing vault: %w", err)