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