autoseal: fix error typos (#5877)

This commit is contained in:
Calvin Leung Huang 2018-11-29 16:07:08 -08:00 committed by Brian Kassouf
parent 046e5fcf57
commit be05907515
2 changed files with 2 additions and 2 deletions

View file

@ -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 := ""

View file

@ -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