Skip to content

Commit

Permalink
fix: update the type assignment for the delete_cache_cluster method
Browse files Browse the repository at this point in the history
  • Loading branch information
jfmainville committed Sep 1, 2023
1 parent 59461d5 commit b217fa9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion moto/elasticache/models.py
Original file line number Diff line number Diff line change
Expand Up @@ -322,7 +322,7 @@ def describe_cache_clusters(

return marker, cache_clusters

def delete_cache_cluster(self, cache_cluster_id: str) -> List[CacheCluster]:
def delete_cache_cluster(self, cache_cluster_id: str) -> CacheCluster:
if cache_cluster_id:
if cache_cluster_id in self.cache_clusters:
cache_cluster = self.cache_clusters[cache_cluster_id]
Expand Down

0 comments on commit b217fa9

Please sign in to comment.