We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent dd523a0 commit 98939c0Copy full SHA for 98939c0
pkg/sidecar-controller/snapshot_controller_base.go
@@ -124,12 +124,7 @@ func NewCSISnapshotSideCarController(
124
// So we are skipping the re-queue here to avoid CreateSnapshot being called without exponential backoff.
125
newSnapContent := newObj.(*crdv1.VolumeSnapshotContent)
126
if newSnapContent.Status != nil && newSnapContent.Status.Error != nil {
127
- oldSnapContent := oldObj.(*crdv1.VolumeSnapshotContent)
128
- _, newExists := newSnapContent.ObjectMeta.Annotations[utils.AnnVolumeSnapshotBeingCreated]
129
- _, oldExists := oldSnapContent.ObjectMeta.Annotations[utils.AnnVolumeSnapshotBeingCreated]
130
- if !newExists && oldExists {
131
return
132
- }
133
}
134
ctrl.enqueueContentWork(newObj)
135
},
0 commit comments