@@ -128,7 +128,7 @@ func (r *TensorFusionConnectionReconciler) Reconcile(ctx context.Context, req ct
128
128
}
129
129
// TODO: Handle PodFailure
130
130
131
- if err := r .MustUpdateStatus (ctx , connection , gpu ); err != nil {
131
+ if err := r .mustUpdateStatus (ctx , connection , gpu ); err != nil {
132
132
return ctrl.Result {}, err
133
133
}
134
134
@@ -180,7 +180,7 @@ func (r *TensorFusionConnectionReconciler) handleDeletion(ctx context.Context, c
180
180
return err
181
181
}
182
182
183
- return r .MustUpdateStatus (ctx , connection , gpu )
183
+ return r .mustUpdateStatus (ctx , connection , gpu )
184
184
}
185
185
186
186
// Helper functions to handle finalizers
@@ -203,7 +203,7 @@ func removeString(slice []string, s string) []string {
203
203
return result
204
204
}
205
205
206
- func (r * TensorFusionConnectionReconciler ) MustUpdateStatus (ctx context.Context , connection * tfv1.TensorFusionConnection , gpu * tfv1.GPU ) error {
206
+ func (r * TensorFusionConnectionReconciler ) mustUpdateStatus (ctx context.Context , connection * tfv1.TensorFusionConnection , gpu * tfv1.GPU ) error {
207
207
return retry .RetryOnConflict (retry .DefaultBackoff , func () error {
208
208
// Get the latest version of the connection
209
209
latestConnection := & tfv1.TensorFusionConnection {}
0 commit comments