func (app *App) validate() error {
	err := app.validatePool()
	if err != nil {
		return err
	}
	return app.validatePlan()
}
func (app *App) validate() error {
	err := app.validatePool()
	if err != nil {
		return err
	}
	return app.validatePlan()
}
func ( app * App ) validate ( ) error { err := app . validatePool ( ) if err != nil { return err } return app . validatePlan ( ) }
// validate checks app pool and plan
validate checks app pool and plan