add debug message for setStatus
This commit is contained in:
parent
3e4a9d597d
commit
11b4b39697
|
|
@ -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 {
|
||||
|
|
|
|||
Loading…
Reference in New Issue