mirror of
https://github.com/zalando/postgres-operator.git
synced 2026-10-18 19:02:52 +02:00
Use ConfigMap to store operator's config
This commit is contained in:
+1
-1
@@ -183,7 +183,7 @@ func (c *Cluster) recreatePods() error {
|
||||
|
||||
var masterPod v1.Pod
|
||||
for _, pod := range pods.Items {
|
||||
role := util.PodSpiloRole(&pod)
|
||||
role := c.PodSpiloRole(&pod)
|
||||
|
||||
if role == constants.PodRoleMaster {
|
||||
masterPod = pod
|
||||
|
||||
Reference in New Issue
Block a user