Skip to content

Commit

Permalink
Fix IRI *-broker status (#1169)
Browse files Browse the repository at this point in the history
* fixing broker status response for single pool

* changes for volumebroker and bucketbroker
  • Loading branch information
so-sahu authored Nov 22, 2024
1 parent c77a3a5 commit 9f1b02b
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 0 deletions.
1 change: 1 addition & 0 deletions broker/bucketbroker/server/bucketclass_list.go
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@ func (s *Server) getTargetIronCoreBucketPools(ctx context.Context) ([]storagev1a
}
return nil, nil
}
return []storagev1alpha1.BucketPool{*ironcoreBucketPool}, nil
}

bucketPoolList := &storagev1alpha1.BucketPoolList{}
Expand Down
1 change: 1 addition & 0 deletions broker/machinebroker/server/status.go
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@ func (s *Server) getTargetIronCoreMachinePools(ctx context.Context) ([]computev1
}
return nil, nil
}
return []computev1alpha1.MachinePool{*ironcoreMachinePool}, nil
}

machinePoolList := &computev1alpha1.MachinePoolList{}
Expand Down
1 change: 1 addition & 0 deletions broker/volumebroker/server/status.go
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@ func (s *Server) getTargetIronCoreVolumePools(ctx context.Context) ([]storagev1a
}
return nil, nil
}
return []storagev1alpha1.VolumePool{*ironcoreVolumePool}, nil
}

volumePoolList := &storagev1alpha1.VolumePoolList{}
Expand Down

0 comments on commit 9f1b02b

Please sign in to comment.