lint cleanup
parent
832fb6b4ab
commit
9adf54388d
|
@ -45,7 +45,6 @@ func CacheBinariesForBootstrapper(version string, clusterBootstrapper string) er
|
|||
return g.Wait()
|
||||
}
|
||||
|
||||
|
||||
// CopyBinary copies a locally cached binary to the guest VM
|
||||
func CopyBinary(cr command.Runner, src string, dest string) error {
|
||||
f, err := assets.NewFileAsset(src, path.Dir(dest), path.Base(dest), "0755")
|
||||
|
|
|
@ -25,8 +25,6 @@ import (
|
|||
// VersionPrefix is the prefix of the git tag for a version
|
||||
const VersionPrefix = "v"
|
||||
|
||||
// The current version of the minikube
|
||||
|
||||
// version is a private field and should be set when compiling with --ldflags="-X k8s.io/minikube/pkg/version.version=vX.Y.Z"
|
||||
var version = "v0.0.0-unset"
|
||||
|
||||
|
@ -36,8 +34,6 @@ var gitCommitID = ""
|
|||
// isoVersion is a private field and should be set when compiling with --ldflags="-X k8s.io/minikube/pkg/version.isoVersion=vX.Y.Z"
|
||||
var isoVersion = "v0.0.0-unset"
|
||||
|
||||
var isoPath = "minikube/iso"
|
||||
|
||||
// GetVersion returns the current minikube version
|
||||
func GetVersion() string {
|
||||
return version
|
||||
|
@ -53,7 +49,6 @@ func GetISOVersion() string {
|
|||
return isoVersion
|
||||
}
|
||||
|
||||
|
||||
// GetSemverVersion returns the current minikube semantic version (semver)
|
||||
func GetSemverVersion() (semver.Version, error) {
|
||||
return semver.Make(strings.TrimPrefix(GetVersion(), VersionPrefix))
|
||||
|
|
Loading…
Reference in New Issue