Skip to content

Commit

Permalink
Add note about intended use case of status API route.
Browse files Browse the repository at this point in the history
  • Loading branch information
cjcenizal committed Oct 4, 2021
1 parent 9dad43e commit 0c9b2c7
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions x-pack/plugins/upgrade_assistant/server/routes/status.ts
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,9 @@ import { versionCheckHandlerWrapper } from '../lib/es_version_precheck';
import { getKibanaUpgradeStatus } from '../lib/kibana_status';
import { RouteDependencies } from '../types';

/**
* Note that this route is primarily intended for consumption by Cloud.
*/
export function registerUpgradeStatusRoute({ router, lib: { handleEsError } }: RouteDependencies) {
router.get(
{
Expand Down

0 comments on commit 0c9b2c7

Please sign in to comment.