diff --git a/pkg/controller/plan/adapter/ova/builder.go b/pkg/controller/plan/adapter/ova/builder.go index 0ce40198e..5d563c3d7 100644 --- a/pkg/controller/plan/adapter/ova/builder.go +++ b/pkg/controller/plan/adapter/ova/builder.go @@ -161,9 +161,9 @@ func (r *Builder) DataVolumes(vmRef ref.Ref, secret *core.Secret, _ *core.Config } for _, disk := range vm.Disks { - mapping, found := r.Context.Map.Storage.FindStorage(disk.ID) + mapping, found := r.Context.Plan.Referenced.Map.Storage.FindStorage(disk.ID) if !found { - mapping, found = r.Context.Map.Storage.FindStorage(DefaultStorageID) + mapping, found = r.Context.Plan.Referenced.Map.Storage.FindStorage(DefaultStorageID) if !found { err = liberr.New( "Disk does not have individual mapping and could not find default in storage map",