From ed5d34383033173369f3678c6904b48bd61428d4 Mon Sep 17 00:00:00 2001 From: Anjan Nath Date: Tue, 27 Aug 2019 19:31:49 +0530 Subject: [PATCH] Remove struct member BundleName from hyperv driver struct this is part of the baseDriver, so we don't need it in the hyperv struct, also remove it from SetConfigFromFlags --- drivers/hyperv/hyperv.go | 2 -- 1 file changed, 2 deletions(-) diff --git a/drivers/hyperv/hyperv.go b/drivers/hyperv/hyperv.go index 12ae67f00a..996f0707d1 100644 --- a/drivers/hyperv/hyperv.go +++ b/drivers/hyperv/hyperv.go @@ -14,7 +14,6 @@ import ( type Driver struct { *drivers.BaseDriver CrcDiskCopier CRCDiskCopier - BundleName string VirtualSwitch string DiskPath string DiskPathUrl string @@ -85,7 +84,6 @@ func (d *Driver) GetCreateFlags() []mcnflag.Flag { } func (d *Driver) SetConfigFromFlags(flags drivers.DriverOptions) error { - d.BundleName = flags.String("hyperv-bundlepath-url") d.VirtualSwitch = flags.String("hyperv-virtual-switch") d.Memory = flags.Int("hyperv-memory") d.CPU = flags.Int("hyperv-cpu-count")