Skip to content

Commit

Permalink
Remove unused function
Browse files Browse the repository at this point in the history
  • Loading branch information
chrisronline committed Feb 5, 2021
1 parent aa4df51 commit deaa335
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions x-pack/plugins/monitoring/server/alerts/base_alert.ts
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,6 @@ import { fetchClusters } from '../lib/alerts/fetch_clusters';
import { getCcsIndexPattern } from '../lib/alerts/get_ccs_index_pattern';
import { INDEX_PATTERN_ELASTICSEARCH } from '../../common/constants';
import { AlertSeverity } from '../../common/enums';
import { MonitoringLicenseService } from '../types';
import { mbSafeQuery } from '../lib/mb_safe_query';
import { appendMetricbeatIndex } from '../lib/alerts/append_mb_index';
import { parseDuration } from '../../../alerts/common/parse_duration';
Expand Down Expand Up @@ -116,10 +115,6 @@ export class BaseAlert {
};
}

public isEnabled(licenseService: MonitoringLicenseService) {
return true;
}

public getId() {
return this.rawAlert?.id;
}
Expand Down

0 comments on commit deaa335

Please sign in to comment.