From be059075158e9ba68081ddab6ea009621fd4dc4e Mon Sep 17 00:00:00 2001 From: Calvin Leung Huang Date: Thu, 29 Nov 2018 16:07:08 -0800 Subject: [PATCH] autoseal: fix error typos (#5877) --- vault/seal/alicloudkms/alicloudkms.go | 2 +- vault/seal/awskms/awskms.go | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/vault/seal/alicloudkms/alicloudkms.go b/vault/seal/alicloudkms/alicloudkms.go index a2bf24713..2a8c41c79 100644 --- a/vault/seal/alicloudkms/alicloudkms.go +++ b/vault/seal/alicloudkms/alicloudkms.go @@ -60,7 +60,7 @@ func (k *AliCloudKMSSeal) SetConfig(config map[string]string) (map[string]string case config["kms_key_id"] != "": k.keyID = config["kms_key_id"] default: - return nil, fmt.Errorf("'kms_key_id' not found for AliCloud KMS sealconfiguration") + return nil, fmt.Errorf("'kms_key_id' not found for AliCloud KMS seal configuration") } region := "" diff --git a/vault/seal/awskms/awskms.go b/vault/seal/awskms/awskms.go index 4039a8d56..c0781f96c 100644 --- a/vault/seal/awskms/awskms.go +++ b/vault/seal/awskms/awskms.go @@ -83,7 +83,7 @@ func (k *AWSKMSSeal) SetConfig(config map[string]string) (map[string]string, err case config["kms_key_id"] != "": k.keyID = config["kms_key_id"] default: - return nil, fmt.Errorf("'kms_key_id' not found for AWS KMS sealconfiguration") + return nil, fmt.Errorf("'kms_key_id' not found for AWS KMS seal configuration") } // Check and set region