// FirstMasterInArray scans the provided array of machines and return the first
// one which is a "Master" or nil if none.
FirstMasterInArray scans the provided array of machines and return the first
one which is a "Master" or nil if none.
// FirstMasterInArray scans the provided array of machines and return the first // one which is a " Master " or nil if none .
func FirstMasterInArray(machines []clusterv1.Machine) *clusterv1.Machine {
	for _, machine := range machines {
		if IsMaster(&machine) {
			return &machine
		}
	}
	return nil
}
func FirstMasterInArray ( machines [ ] clusterv1 . Machine ) * clusterv1 . Machine { for _ , machine := range machines { if IsMaster ( & machine ) { return & machine } } return nil }
FirstMasterInArray scans the provided array of machines and return the first
one which is a "Master" or nil if none.
FirstMasterInArray scans the provided array of machines and return the first one which is a " Master " or nil if none .