return constant for standard pg port
This commit is contained in:
parent
63368d63af
commit
ee55b2db6b
|
|
@ -107,7 +107,7 @@ func (c *Cluster) servicePort(role PostgresRole) int32 {
|
|||
}
|
||||
|
||||
c.logger.Warningf("No service for role %s - defaulting to port 5432", role)
|
||||
return 5432
|
||||
return pgPort
|
||||
}
|
||||
|
||||
func (c *Cluster) podDisruptionBudgetName() string {
|
||||
|
|
|
|||
Loading…
Reference in New Issue