fix: remove pointer when vm is getting

pull/7459/head
Marin Salinas 7 years ago committed by Megan Marsh
parent cf1fdfef00
commit 571ef828e6

@ -25,7 +25,7 @@ type StepSnapshotVolumes struct {
func (s *StepSnapshotVolumes) snapshotVolume(ctx context.Context, deviceName string, state multistep.StateBag) error {
oapiconn := state.Get("oapi").(*oapi.Client)
ui := state.Get("ui").(packer.Ui)
vm := state.Get("vm").(*oapi.Vm)
vm := state.Get("vm").(oapi.Vm)
var volumeId string
for _, volume := range vm.BlockDeviceMappings {

Loading…
Cancel
Save