mirror of
https://github.com/zalando/postgres-operator.git
synced 2026-09-30 22:10:39 +02:00
use neutral name for set cluster status function
This commit is contained in:
@@ -107,7 +107,7 @@ func (c *Cluster) needsRollingUpdate(otherSpec *spec.Postgresql) bool {
|
||||
return false
|
||||
}
|
||||
|
||||
func (c *Cluster) MustSetStatus(status spec.PostgresStatus) {
|
||||
func (c *Cluster) SetStatus(status spec.PostgresStatus) {
|
||||
b, err := json.Marshal(status)
|
||||
if err != nil {
|
||||
c.logger.Fatalf("Can't marshal status: %s", err)
|
||||
|
||||
Reference in New Issue
Block a user