From fab344a1fc8829cc9766763053bca14e31047b90 Mon Sep 17 00:00:00 2001 From: Adrien Delorme Date: Tue, 17 Mar 2020 15:41:58 +0100 Subject: [PATCH] Update ami_config.go quote string in err --- builder/amazon/common/ami_config.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/builder/amazon/common/ami_config.go b/builder/amazon/common/ami_config.go index d223979d8..8d421e453 100644 --- a/builder/amazon/common/ami_config.go +++ b/builder/amazon/common/ami_config.go @@ -203,7 +203,7 @@ func (c *AMIConfig) Prepare(accessConfig *AccessConfig, ctx *interpolate.Context } for _, kmsKey := range kmsKeys { if !validateKmsKey(kmsKey) { - errs = append(errs, fmt.Errorf("%s is not a valid KMS Key Id.", kmsKey)) + errs = append(errs, fmt.Errorf("%q is not a valid KMS Key Id.", kmsKey)) } }