From 66ec926ad8e11d787757fdcfbad185aa33aa559e Mon Sep 17 00:00:00 2001 From: Sourav Sohan Sahu Date: Fri, 22 Nov 2024 10:12:56 +0000 Subject: [PATCH] changes for volumebroker and bucketbroker --- broker/bucketbroker/server/bucketclass_list.go | 1 + broker/volumebroker/server/status.go | 1 + 2 files changed, 2 insertions(+) diff --git a/broker/bucketbroker/server/bucketclass_list.go b/broker/bucketbroker/server/bucketclass_list.go index df6e56c15..24169977d 100644 --- a/broker/bucketbroker/server/bucketclass_list.go +++ b/broker/bucketbroker/server/bucketclass_list.go @@ -24,6 +24,7 @@ func (s *Server) getTargetIronCoreBucketPools(ctx context.Context) ([]storagev1a } return nil, nil } + return []storagev1alpha1.BucketPool{*ironcoreBucketPool}, nil } bucketPoolList := &storagev1alpha1.BucketPoolList{} diff --git a/broker/volumebroker/server/status.go b/broker/volumebroker/server/status.go index e85425326..7f1373dbe 100644 --- a/broker/volumebroker/server/status.go +++ b/broker/volumebroker/server/status.go @@ -26,6 +26,7 @@ func (s *Server) getTargetIronCoreVolumePools(ctx context.Context) ([]storagev1a } return nil, nil } + return []storagev1alpha1.VolumePool{*ironcoreVolumePool}, nil } volumePoolList := &storagev1alpha1.VolumePoolList{}