import { API_BASE_PATH } from '../../common/constants' ; import { versionCheckHandlerWrapper } from '../lib/es_version_precheck' ; import { RouteDependencies } from '../types' ; export function registerClusterUpgradeStatusRoutes ( { router } ) { router . get ( { path : `${ API_BASE_PATH }/cluster_upgrade_status` , validate : false } , versionCheckHandlerWrapper ( async ( context , request , response ) => { return response . ok ( ) ; } ) ) ; }