Returns an empty list when the cluster does not exist
This commit is contained in:
parent
78d7d67751
commit
79e47fd98f
@ -428,9 +428,6 @@ class EC2ContainerServiceBackend(BaseBackend):
|
||||
if cluster_name in self.clusters:
|
||||
list_clusters.append(
|
||||
self.clusters[cluster_name].response_object)
|
||||
else:
|
||||
raise Exception(
|
||||
"{0} is not a cluster".format(cluster_name))
|
||||
return list_clusters
|
||||
|
||||
def delete_cluster(self, cluster_str):
|
||||
|
Loading…
Reference in New Issue
Block a user