func NormaliseArch(rawArch string) string {
	rawArch = strings.TrimSpace(rawArch)
	for _, re := range archREs {
		if re.Match([]byte(rawArch)) {
			return re.arch
		}
	}
	return rawArch
}
// NormaliseArch returns the Juju architecture corresponding to a machine's
// reported architecture. The Juju architecture is used to filter simple
// streams lookup of tools and images.
NormaliseArch returns the Juju architecture corresponding to a machine's
reported architecture. The Juju architecture is used to filter simple
streams lookup of tools and images.
// NormaliseArch returns the Juju architecture corresponding to a machine ' s // reported architecture . The Juju architecture is used to filter simple // streams lookup of tools and images .
func NormaliseArch(rawArch string) string {
	rawArch = strings.TrimSpace(rawArch)
	for _, re := range archREs {
		if re.Match([]byte(rawArch)) {
			return re.arch
		}
	}
	return rawArch
}
func NormaliseArch ( rawArch string ) string { rawArch = strings . TrimSpace ( rawArch ) for _ , re := range archREs { if re . Match ( [ ] byte ( rawArch ) ) { return re . arch } } return rawArch }
NormaliseArch returns the Juju architecture corresponding to a machine's
reported architecture.
NormaliseArch returns the Juju architecture corresponding to a machine ' s reported architecture .