add debug message for setStatus

This commit is contained in:
Felix Kunde 2019-05-02 12:15:50 +02:00
parent 3e4a9d597d
commit 11b4b39697
1 changed files with 1 additions and 0 deletions

View File

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