This commit is contained in:
Felix Kunde 2020-04-17 21:41:04 +02:00
parent 7a1f16f9a8
commit eb8e8c3b79
1 changed files with 1 additions and 1 deletions

View File

@ -223,7 +223,7 @@ class EndToEndTestCase(unittest.TestCase):
k8s.update_config(patch_lazy_spilo_upgrade)
# restart the pod to get a container with the new image
podsList = self.api.core_v1.list_namespaced_pod(namespace, label_selector=pg_cluster_name)
podsList = k8s.api.core_v1.list_namespaced_pod(namespace, label_selector=pg_cluster_name)
for pod in podsList.items:
if pod.metadata.labels.get('spilo-role') == 'master':
master_pod = pod.metadata.name