From 38563df35c5dd51065bcc91b542dd0051f745d83 Mon Sep 17 00:00:00 2001 From: piggona <2803302887@qq.com> Date: Mon, 20 Jul 2020 21:05:18 +0800 Subject: [PATCH] builder/tencent: add key source_image_name to get source image by name when creating image.#9548 --- builder/tencentcloud/cvm/step_check_source_image.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/builder/tencentcloud/cvm/step_check_source_image.go b/builder/tencentcloud/cvm/step_check_source_image.go index ea1e2bb5a..56c722d9d 100644 --- a/builder/tencentcloud/cvm/step_check_source_image.go +++ b/builder/tencentcloud/cvm/step_check_source_image.go @@ -24,7 +24,7 @@ func (s *stepCheckSourceImage) Run(ctx context.Context, state multistep.StateBag Say(state, config.SourceImageId, "Trying to check source image") req := cvm.NewDescribeImagesRequest() - // req.InstanceType = &config.InstanceType + req.InstanceType = &config.InstanceType if config.SourceImageId != "" { req.ImageIds = []*string{&config.SourceImageId} } else {