minor change

This commit is contained in:
Felix Kunde 2019-04-17 17:09:00 +02:00
parent 11f899367c
commit c636b3165f
1 changed files with 1 additions and 1 deletions

View File

@ -151,7 +151,7 @@ func (c *Cluster) setProcessName(procName string, args ...interface{}) {
func (c *Cluster) setStatus(status string) {
// TODO: eventually switch to updateStatus() for kubernetes 1.11 and above
patch, err := json.Marshal(acidv1.PostgresStatus{PostgresClusterStatus: status})
patch, err := json.Marshal(&acidv1.PostgresStatus{PostgresClusterStatus: status})
if err != nil {
c.logger.Errorf("could not marshal status: %v", err)
}