Update post-processor/yandex-export/step-attach-disk.go

Co-authored-by: GennadySpb <lipenkov@gmail.com>
This commit is contained in:
Roman Mingazeev 2020-12-10 15:17:09 +03:00 committed by GitHub
parent bbd9ee8589
commit ceb02833a4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -20,7 +20,7 @@ func (c *StepAttachDisk) Run(ctx context.Context, state multistep.StateBag) mult
ui := state.Get("ui").(packer.Ui) ui := state.Get("ui").(packer.Ui)
instanceID := state.Get("instance_id").(string) instanceID := state.Get("instance_id").(string)
ui.Say("Create disk from source image...") ui.Say("Create secondary disk from image for export...")
imageDesc, err := driver.SDK().Compute().Image().Get(ctx, &compute.GetImageRequest{ imageDesc, err := driver.SDK().Compute().Image().Get(ctx, &compute.GetImageRequest{
ImageId: c.ImageID, ImageId: c.ImageID,