Skip to content

Commit f400e93

Browse files
committed
fix typo
1 parent 9901aa0 commit f400e93

File tree

1 file changed

+1
-1
lines changed
  • internal/controllers/storage

1 file changed

+1
-1
lines changed

internal/controllers/storage/sync.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -292,7 +292,7 @@ func (r *Reconciler) waitForNodeSetsToProvisioned(
292292

293293
func shouldIgnoreStorageChange(storage *resources.StorageClusterBuilder) resources.IgnoreChangesFunction {
294294
return func(oldObj, newObj runtime.Object) bool {
295-
if statefulSet, ok := newObj.(*appsv1.StatefulSet); ok {
295+
if statefulSet, ok := oldObj.(*appsv1.StatefulSet); ok {
296296
if storage.Spec.Pause && *statefulSet.Spec.Replicas == 0 {
297297
return true
298298
}

0 commit comments

Comments
 (0)