Skip to content

Commit

Permalink
Remove struct member BundleName from hyperv driver struct
Browse files Browse the repository at this point in the history
this is part of the baseDriver, so we don't need it in
the hyperv struct, also remove it from SetConfigFromFlags
  • Loading branch information
anjannath committed Aug 27, 2019
1 parent b804b78 commit ed5d343
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions drivers/hyperv/hyperv.go
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,6 @@ import (
type Driver struct {
*drivers.BaseDriver
CrcDiskCopier CRCDiskCopier
BundleName string
VirtualSwitch string
DiskPath string
DiskPathUrl string
Expand Down Expand Up @@ -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")
Expand Down

0 comments on commit ed5d343

Please sign in to comment.