Fix: redshift:DescribeClusterSnapshots should not raise ClusterNotFoundError
Real AWS backend returns an empty array instead of raising an error.
This commit is contained in:
parent
161cb46886
commit
555be78f6e
2 changed files with 4 additions and 6 deletions
|
|
@ -777,7 +777,6 @@ class RedshiftBackend(BaseBackend):
|
|||
cluster_snapshots.append(snapshot)
|
||||
if cluster_snapshots:
|
||||
return cluster_snapshots
|
||||
raise ClusterNotFoundError(cluster_identifier)
|
||||
|
||||
if snapshot_identifier:
|
||||
if snapshot_identifier in self.snapshots:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue