func getRouterForApp(app provision.App) (router.Router, error) { routerName, err := app.GetRouter() if err != nil { return nil, err } return router.Get(routerName) }