mirror of
https://github.com/zalando/postgres-operator.git
synced 2026-10-06 15:21:44 +02:00
add debug message for setStatus
This commit is contained in:
@@ -150,6 +150,7 @@ func (c *Cluster) setProcessName(procName string, args ...interface{}) {
|
||||
|
||||
// SetStatus of Postgres cluster
|
||||
func (c *Cluster) setStatus(status string) {
|
||||
c.logger.Debugf("updating status to %s", status)
|
||||
// TODO: eventually switch to updateStatus() for kubernetes 1.11 and above
|
||||
patch, err := json.Marshal(acidv1.PostgresStatus{PostgresClusterStatus: status})
|
||||
if err != nil {
|
||||
|
||||
Reference in New Issue
Block a user