diff --git a/lib/cfnguardian/resources/rds_cluster.rb b/lib/cfnguardian/resources/rds_cluster.rb index 2118199..ff55ce7 100644 --- a/lib/cfnguardian/resources/rds_cluster.rb +++ b/lib/cfnguardian/resources/rds_cluster.rb @@ -7,9 +7,7 @@ def default_event_subscriptions() event_subscription.rds_event_category = 'failover' event_subscription.message = 'A failover for the DB cluster has failed.' @event_subscriptions.push(event_subscription) - end - def default_event_subscriptions() event_subscription = CfnGuardian::Models::RDSClusterEventSubscription.new(@resource) event_subscription.name = 'FailoverFinished' event_subscription.rds_event_category = 'failover'