Skip to content

Commit ffbbd4d

Browse files
authored
Merge pull request #1698 from naveenpaul1/mongo_pool_upgrade
Mongo pool upgrade
2 parents a26fdde + 0817d74 commit ffbbd4d

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)