// PreCheck makes sure this phase is executed on a master node
PreCheck makes sure this phase is executed on a master node
// PreCheck makes sure this phase is executed on a master node
func (p *userResourcesExecutor) PreCheck(ctx context.Context) error {
	err := fsm.CheckMasterServer(p.Plan.Servers)
	if err != nil {
		return trace.Wrap(err)
	}
	return nil
}
func ( p * userResourcesExecutor ) PreCheck ( ctx context . Context ) error { err := fsm . CheckMasterServer ( p . Plan . Servers ) if err != nil { return trace . Wrap ( err ) } return nil }
PreCheck makes sure this phase is executed on a master node
PreCheck makes sure this phase is executed on a master node