mirror of
https://github.com/zalando/postgres-operator.git
synced 2026-10-04 05:20:34 +02:00
fix selector in get_cluster_pod
This commit is contained in:
@@ -284,7 +284,7 @@ class K8s:
|
||||
labels = labels + ',spilo-role=' + role
|
||||
|
||||
pods = self.api.core_v1.list_namespaced_pod(
|
||||
namespace, label_selector=to_selector(labels)).items
|
||||
namespace, label_selector=labels).items
|
||||
|
||||
if pods:
|
||||
return pods[0]
|
||||
|
||||
Reference in New Issue
Block a user