Skip to content

Commit 0817d74

Browse files
committed
Mongo | Upgrade flow
Signed-off-by: Naveen Paul <napaul@redhat.com>
1 parent a26fdde commit 0817d74

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

pkg/backingstore/reconciler.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -437,7 +437,7 @@ func (r *Reconciler) finalizeCore() error {
437437
internalPoolName := ""
438438
for i := range r.SystemInfo.Pools {
439439
pool := &r.SystemInfo.Pools[i]
440-
if pool.ResourceType == "INTERNAL" {
440+
if pool.Name == "backingstores" {
441441
internalPoolName = pool.Name
442442
break
443443
}

pkg/namespacestore/reconciler.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -354,7 +354,7 @@ func (r *Reconciler) ReconcileDeletion(systemFound bool) error {
354354
internalPoolName := ""
355355
for i := range r.SystemInfo.Pools {
356356
pool := &r.SystemInfo.Pools[i]
357-
if pool.ResourceType == "INTERNAL" {
357+
if pool.Name == "backingstores" {
358358
internalPoolName = pool.Name
359359
break
360360
}

0 commit comments

Comments
 (0)