From d2a9a98eeb4bb7c273e4f21bda0a8ae479bf2fff Mon Sep 17 00:00:00 2001 From: Fabio Rapposelli Date: Fri, 22 Aug 2014 10:07:36 +0200 Subject: [PATCH] Fixed multiple VMware typos. --- builder/vmware/common/driver.go | 4 ++-- builder/vmware/common/driver_fusion5.go | 2 +- builder/vmware/common/driver_fusion6.go | 2 +- builder/vmware/common/driver_workstation9.go | 2 +- builder/vmware/common/driver_workstation_unix.go | 6 +++--- website/source/community/index.html.markdown | 2 +- 6 files changed, 9 insertions(+), 9 deletions(-) diff --git a/builder/vmware/common/driver.go b/builder/vmware/common/driver.go index 35a358cc4..ddefbd9d8 100644 --- a/builder/vmware/common/driver.go +++ b/builder/vmware/common/driver.go @@ -151,7 +151,7 @@ func normalizeVersion(version string) (string, error) { i, err := strconv.Atoi(version) if err != nil { return "", fmt.Errorf( - "VMWare version '%s' is not numeric", version) + "VMware version '%s' is not numeric", version) } return fmt.Sprintf("%02d", i), nil @@ -170,7 +170,7 @@ func compareVersions(versionFound string, versionWanted string) error { if found < wanted { return fmt.Errorf( - "VMWare WS version %s, or greater, is required. Found version: %s", versionWanted, versionFound) + "VMware WS version %s, or greater, is required. Found version: %s", versionWanted, versionFound) } return nil diff --git a/builder/vmware/common/driver_fusion5.go b/builder/vmware/common/driver_fusion5.go index ee6cdd6c1..8bcbb8d30 100644 --- a/builder/vmware/common/driver_fusion5.go +++ b/builder/vmware/common/driver_fusion5.go @@ -12,7 +12,7 @@ import ( "github.com/mitchellh/multistep" ) -// Fusion5Driver is a driver that can run VMWare Fusion 5. +// Fusion5Driver is a driver that can run VMware Fusion 5. type Fusion5Driver struct { // This is the path to the "VMware Fusion.app" AppPath string diff --git a/builder/vmware/common/driver_fusion6.go b/builder/vmware/common/driver_fusion6.go index 98c466cb9..1d71a1780 100644 --- a/builder/vmware/common/driver_fusion6.go +++ b/builder/vmware/common/driver_fusion6.go @@ -11,7 +11,7 @@ import ( "strings" ) -// Fusion6Driver is a driver that can run VMWare Fusion 5. +// Fusion6Driver is a driver that can run VMware Fusion 5. type Fusion6Driver struct { Fusion5Driver } diff --git a/builder/vmware/common/driver_workstation9.go b/builder/vmware/common/driver_workstation9.go index f47809558..4c72c72b3 100644 --- a/builder/vmware/common/driver_workstation9.go +++ b/builder/vmware/common/driver_workstation9.go @@ -23,7 +23,7 @@ type Workstation9Driver struct { } func (d *Workstation9Driver) Clone(dst, src string) error { - return errors.New("Cloning is not supported with VMWare WS version 9. Please use VMWare WS version 10, or greater.") + return errors.New("Cloning is not supported with VMware WS version 9. Please use VMware WS version 10, or greater.") } func (d *Workstation9Driver) CompactDisk(diskPath string) error { diff --git a/builder/vmware/common/driver_workstation_unix.go b/builder/vmware/common/driver_workstation_unix.go index 63b379e7c..74fd3ba0a 100644 --- a/builder/vmware/common/driver_workstation_unix.go +++ b/builder/vmware/common/driver_workstation_unix.go @@ -53,7 +53,7 @@ func workstationVmnetnatConfPath() string { func workstationVerifyVersion(version string) error { if runtime.GOOS != "linux" { - return fmt.Errorf("The VMWare WS version %s driver is only supported on Linux, and Windows, at the moment. Your OS: %s", version, runtime.GOOS) + return fmt.Errorf("The VMware WS version %s driver is only supported on Linux, and Windows, at the moment. Your OS: %s", version, runtime.GOOS) } //TODO(pmyjavec) there is a better way to find this, how? @@ -71,9 +71,9 @@ func workstationVerifyVersion(version string) error { matches := versionRe.FindStringSubmatch(stderr.String()) if matches == nil { return fmt.Errorf( - "Could not find VMWare WS version in output: %s", stderr.String()) + "Could not find VMware WS version in output: %s", stderr.String()) } - log.Printf("Detected VMWare WS version: %s", matches[1]) + log.Printf("Detected VMware WS version: %s", matches[1]) return compareVersions(matches[1], version) } diff --git a/website/source/community/index.html.markdown b/website/source/community/index.html.markdown index a9307ef82..4fedf4349 100644 --- a/website/source/community/index.html.markdown +++ b/website/source/community/index.html.markdown @@ -66,7 +66,7 @@ list as contributors come and go.

Ross Smith II (@rasa)

-Ross Smith maintains our VMWare builder on Windows, and provides other valuable assistance. +Ross Smith maintains our VMware builder on Windows, and provides other valuable assistance. Ross is an open source enthusist, published author, and freelance consultant.