version/version.go
func Cluster(v string) string {
	vs := strings.Split(v, ".")
	if len(vs) <= 2 {
		return v
	}
	return fmt.Sprintf("%s.%s", vs[0], vs[1])
}
func Cluster(v string) string {
	vs := strings.Split(v, ".")
	if len(vs) <= 2 {
		return v
	}
	return fmt.Sprintf("%s.%s", vs[0], vs[1])
}
func Cluster ( v string ) string { vs := strings . Split ( v , " " ) if len ( vs ) <= 2 { return v } return fmt . Sprintf ( " " , vs [ 0 ] , vs [ 1 ] ) }
// Cluster only keeps the major.minor.
Cluster only keeps the major . minor .