Fix go vet error (#12839)
This commit is contained in:
parent
1b4fda0e1e
commit
bc4a3d62a5
|
@ -178,7 +178,7 @@ func resourceAwsKmsKeyRead(d *schema.ResourceData, meta interface{}) error {
|
|||
KeyId: metadata.KeyId,
|
||||
})
|
||||
if err != nil {
|
||||
return fmt.Errorf("Failed to get KMS key tags (key: %s): %s", metadata.KeyId, err)
|
||||
return fmt.Errorf("Failed to get KMS key tags (key: %s): %s", d.Get("key_id").(string), err)
|
||||
}
|
||||
d.Set("tags", tagsToMapKMS(tagList.Tags))
|
||||
|
||||
|
|
Loading…
Reference in New Issue