builder/tencent: add key source_image_name to get source image by name when creating image.#9548

pull/9619/head
piggona 6 years ago
parent 485b2b3bd5
commit 38563df35c

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

Loading…
Cancel
Save