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:27 +03:00 committed by GitHub
parent 69adcdb2a3
commit 992cbe6dee
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -57,7 +57,7 @@ func (c *StepAttachDisk) Run(ctx context.Context, state multistep.StateBag) mult
return yandex.StepHaltWithError(state, err) return yandex.StepHaltWithError(state, err)
} }
ui.Say("Attach disk...") ui.Say("Attach secondary disk to instance...")
op, err = driver.SDK().WrapOperation(driver.SDK().Compute().Instance().AttachDisk(ctx, &compute.AttachInstanceDiskRequest{ op, err = driver.SDK().WrapOperation(driver.SDK().Compute().Instance().AttachDisk(ctx, &compute.AttachInstanceDiskRequest{
InstanceId: instanceID, InstanceId: instanceID,