mirror of
https://github.com/zalando/postgres-operator.git
synced 2026-09-30 11:27:17 +02:00
return constant for standard pg port
This commit is contained in:
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user