mirror of
https://github.com/hashicorp/packer.git
synced 2026-05-28 04:35:38 -04:00
Update post-processor/yandex-export/step-attach-disk.go
Co-authored-by: GennadySpb <lipenkov@gmail.com>
This commit is contained in:
parent
ceb02833a4
commit
69adcdb2a3
1 changed files with 1 additions and 1 deletions
|
|
@ -49,7 +49,7 @@ func (c *StepAttachDisk) Run(ctx context.Context, state multistep.StateBag) mult
|
|||
}
|
||||
md, ok := protoMD.(*compute.CreateDiskMetadata)
|
||||
if !ok {
|
||||
return yandex.StepHaltWithError(state, fmt.Errorf("could not get Instance ID from create operation metadata"))
|
||||
return yandex.StepHaltWithError(state, fmt.Errorf("could not get Disk ID from create operation metadata"))
|
||||
}
|
||||
state.Put("secondary_disk_id", md.GetDiskId())
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue