diff --git a/pkg/operator/ceph/cluster/osd/osd.go b/pkg/operator/ceph/cluster/osd/osd.go index 10dc7cce2247..1be07de0537c 100644 --- a/pkg/operator/ceph/cluster/osd/osd.go +++ b/pkg/operator/ceph/cluster/osd/osd.go @@ -325,8 +325,8 @@ func (c *Cluster) postReconcileUpdateOSDProperties(desiredOSDs map[int]*OSDInfo) } logger.Debugf("post processing osd properties with %d actual osds from ceph osd df and %d existing osds found during reconcile", len(osdUsage.OSDNodes), len(desiredOSDs)) for _, actualOSD := range osdUsage.OSDNodes { - // setting this true for 4.16 downstream, from 4.17 ocs operator will set this to true - c.spec.Storage.AllowDeviceClassUpdate = true + // setting `AllowOsdCrushWeightUpdate`` true for 4.16 downstream, from 4.17 ocs operator will set this to true + c.spec.Storage.AllowOsdCrushWeightUpdate = true if c.spec.Storage.AllowOsdCrushWeightUpdate { _, err := cephclient.ResizeOsdCrushWeight(actualOSD, c.context, c.clusterInfo) if err != nil {