return constant for standard pg port

This commit is contained in:
Felix Kunde 2022-03-03 10:47:10 +01:00
parent 63368d63af
commit ee55b2db6b
1 changed files with 1 additions and 1 deletions

View File

@ -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 {