// GetKubernetesVersion reads the Kubernetes version of the provided machine,
// or if missing, returns the default version.
GetKubernetesVersion reads the Kubernetes version of the provided machine,
or if missing, returns the default version.
// GetKubernetesVersion reads the Kubernetes version of the provided machine // or if missing returns the default version .
func GetKubernetesVersion(machine *clusterv1.Machine) string {
	if machine == nil {
		return kubernetes.DefaultVersion
	}
	version := getKubernetesVersion(machine)
	log.WithField("machine", machine.Name).WithField("version", version).Debug("Kubernetes version used")
	return version
}
func GetKubernetesVersion ( machine * clusterv1 . Machine ) string { if machine == nil { return kubernetes . DefaultVersion } version := getKubernetesVersion ( machine ) log . WithField ( " " , machine . Name ) . WithField ( " " , version ) . Debug ( " " ) return version }
GetKubernetesVersion reads the Kubernetes version of the provided machine,
or if missing, returns the default version.
GetKubernetesVersion reads the Kubernetes version of the provided machine or if missing returns the default version .