func (tc *testContext) createWindowsMachineSet(replicas int32, windowsLabel bool) (*mapi.MachineSet, error) {
	machineSet, err := tc.CloudProvider.GenerateMachineSet(windowsLabel, replicas)
	if err != nil {
		return nil, err
	}
	return tc.client.Machine.MachineSets(clusterinfo.MachineAPINamespace).Create(context.TODO(), machineSet, metav1.CreateOptions{})
}
// createWindowsMachineSet creates given number of Windows Machines.
createWindowsMachineSet creates given number of Windows Machines.
// createWindowsMachineSet creates given number of Windows Machines .
func (tc *testContext) createWindowsMachineSet(replicas int32, windowsLabel bool) (*mapi.MachineSet, error) {
	machineSet, err := tc.CloudProvider.GenerateMachineSet(windowsLabel, replicas)
	if err != nil {
		return nil, err
	}
	return tc.client.Machine.MachineSets(clusterinfo.MachineAPINamespace).Create(context.TODO(), machineSet, metav1.CreateOptions{})
}
func ( tc * testContext ) createWindowsMachineSet ( replicas int32 , windowsLabel bool ) ( * mapi . MachineSet , error ) { machineSet , err := tc . CloudProvider . GenerateMachineSet ( windowsLabel , replicas ) if err != nil { return nil , err } return tc . client . Machine . MachineSets ( clusterinfo . MachineAPINamespace ) . Create ( context . TODO ( ) , machineSet , metav1 . CreateOptions { } ) }
createWindowsMachineSet creates given number of Windows Machines.
createWindowsMachineSet creates given number of Windows Machines .