use neutral name for set cluster status function

This commit is contained in:
Murat Kabilov
2017-05-12 11:41:26 +02:00
parent 1c6e7ac2e7
commit 486c8ecb07
2 changed files with 7 additions and 7 deletions
+1 -1
View File
@@ -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)