autoseal: fix error typos (#5877)
This commit is contained in:
parent
046e5fcf57
commit
be05907515
|
@ -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 := ""
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue