Skip to content

Commit

Permalink
Merge pull request #357 from OdedViner/fix_rbd_ls
Browse files Browse the repository at this point in the history
csi: fix rbd listing failure by correctly filtering builtin block pools
  • Loading branch information
subhamkrai authored Feb 13, 2025
2 parents 5ae1da8 + 7da64b5 commit 249ae9a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/rbd/rbd.go
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ func fetchBlockPools(ctx context.Context, clientsets *k8sutil.Clientsets, cluste
}
blockPoolNames := make(map[string]poolData)
for _, blockPool := range blockPoolList.Items {
if blockPool.Name == "builtin-mgr" {
if strings.Contains(blockPool.Name, "builtin") {
continue
}
blockPoolNames[blockPool.Name] = poolData{
Expand Down

0 comments on commit 249ae9a

Please sign in to comment.