mirror of
https://github.com/zalando/postgres-operator.git
synced 2026-10-22 06:28:01 +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) {
|
func (c *Cluster) setStatus(status string) {
|
||||||
// TODO: eventually switch to updateStatus() for kubernetes 1.11 and above
|
// 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 {
|
if err != nil {
|
||||||
c.logger.Errorf("could not marshal status: %v", err)
|
c.logger.Errorf("could not marshal status: %v", err)
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user