We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 1685f33 commit 2d0291aCopy full SHA for 2d0291a
1 file changed
xset/synccontrols/x_update.go
@@ -94,7 +94,7 @@ func (r *RealSyncControl) attachTargetUpdateInfo(xsetObject api.XSetObject, sync
94
// decide whether the TargetOpsLifecycle is during ops or not
95
updateInfo.RequeueForOperationDelay, updateInfo.IsAllowUpdateOps = opslifecycle.AllowOps(r.updateConfig.xsetLabelAnnoMgr, r.updateLifecycleAdapter, ptr.Deref(spec.UpdateStrategy.OperationDelaySeconds, 0), target)
96
// check subresource pvc template changed
97
- if subresources.GetSubresourcePvcAdapter(r.pvcControl) {
+ if _, enabled := subresources.GetSubresourcePvcAdapter(r.xsetController); enabled {
98
updateInfo.PvcTmpHashChanged, err = r.pvcControl.IsTargetPvcTmpChanged(xsetObject, target.Object, syncContext.ExistingPvcs)
99
if err != nil {
100
return nil, err
0 commit comments