Skip to content

Commit

Permalink
Remove this check (#79202) (#80024)
Browse files Browse the repository at this point in the history
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
  • Loading branch information
chrisronline and kibanamachine authored Oct 8, 2020
1 parent dfff9fc commit ff10cfb
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 29 deletions.

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@ import { schema } from '@kbn/config-schema';
import { getClustersFromRequest } from '../../../../lib/cluster/get_clusters_from_request';
import { handleError } from '../../../../lib/errors';
import { getIndexPatterns } from '../../../../lib/cluster/get_index_patterns';
import { verifyCcsAvailability } from '../../../../lib/elasticsearch/verify_ccs_availability';

export function clusterRoute(server) {
/*
Expand All @@ -34,7 +33,6 @@ export function clusterRoute(server) {
},
handler: async (req) => {
const config = server.config();
await verifyCcsAvailability(req);

const indexPatterns = getIndexPatterns(server, {
filebeatIndexPattern: config.get('monitoring.ui.logs.index'),
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@
import { schema } from '@kbn/config-schema';
import { getClustersFromRequest } from '../../../../lib/cluster/get_clusters_from_request';
import { verifyMonitoringAuth } from '../../../../lib/elasticsearch/verify_monitoring_auth';
import { verifyCcsAvailability } from '../../../../lib/elasticsearch/verify_ccs_availability';
import { handleError } from '../../../../lib/errors';
import { getIndexPatterns } from '../../../../lib/cluster/get_index_patterns';

Expand Down Expand Up @@ -39,7 +38,6 @@ export function clustersRoute(server) {
// the monitoring data. `try/catch` makes it a little more explicit.
try {
await verifyMonitoringAuth(req);
await verifyCcsAvailability(req);
const indexPatterns = getIndexPatterns(server, {
filebeatIndexPattern: config.get('monitoring.ui.logs.index'),
});
Expand Down

0 comments on commit ff10cfb

Please sign in to comment.