mirror of
https://github.com/zalando/postgres-operator.git
synced 2026-10-06 12:12:09 +02:00
minor change
This commit is contained in:
@@ -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)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user