@@ -2778,7 +2778,7 @@ func (r *Reconciler) reconcileRepos(ctx context.Context,
27782778 if feature .Enabled (ctx , feature .AutoGrowVolumes ) {
27792779 // get the autogrow annotations so that the correct volume size values can be
27802780 // used and the cluster status can be updated
2781- errors = append (errors , r .getRepoHostVolumeRequests (ctx , postgresCluster ))
2781+ errors = append (errors , r .writeRepoVolumeSizeRequestStatus (ctx , postgresCluster ))
27822782 }
27832783
27842784 for i , repo := range postgresCluster .Spec .Backups .PGBackRest .Repos {
@@ -2820,11 +2820,11 @@ func (r *Reconciler) reconcileRepos(ctx context.Context,
28202820
28212821// +kubebuilder:rbac:groups="",resources="pods",verbs={list}
28222822
2823- // getRepoHostVolumeRequests gets the pgBackRest repo host volume request annotations
2823+ // writeRepoVolumeSizeRequestStatus gets the pgBackRest repo host volume request annotations
28242824// from the repo host Pod and stores them in the Postgres Cluster object's status.
28252825// If there is no repo host or there are no annotations, this function returns
28262826// without updating the status.
2827- func (r * Reconciler ) getRepoHostVolumeRequests (ctx context.Context ,
2827+ func (r * Reconciler ) writeRepoVolumeSizeRequestStatus (ctx context.Context ,
28282828 cluster * v1beta1.PostgresCluster ) error {
28292829
28302830 pods := & corev1.PodList {}
0 commit comments