Skip to content

Commit

Permalink
Rename elastiCacheClusterType to clusterType
Browse files Browse the repository at this point in the history
Co-authored-by: Eugene Cheung <[email protected]>
  • Loading branch information
Ansk0 and echeung-amzn authored Oct 20, 2023
1 parent cab84c2 commit dbce9aa
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ export interface ElastiCacheClusterMonitoringProps
export class ElastiCacheClusterMonitoring extends Monitoring {
readonly title: string;
readonly clusterUrl?: string;
readonly elastiCacheClusterType: ElastiCacheClusterType;
readonly clusterType: ElastiCacheClusterType;

readonly connectionsMetric: MetricWithAlarmSupport;
readonly cpuUsageMetric: MetricWithAlarmSupport;
Expand Down Expand Up @@ -243,7 +243,7 @@ export class ElastiCacheClusterMonitoring extends Monitoring {
}

widgets(): IWidget[] {
if (this.elastiCacheClusterType == ElastiCacheClusterType.REDIS) {
if (this.clusterType === ElastiCacheClusterType.REDIS) {
return [
this.createTitleWidget(),
new Column(
Expand Down

0 comments on commit dbce9aa

Please sign in to comment.