mirror of
https://github.com/storytold/irsa-manager.git
synced 2026-10-09 00:09:43 +00:00
fix: #2 us-east-1 support
This commit is contained in:
@@ -88,11 +88,11 @@ func (r *IRSASetupReconciler) Reconcile(ctx context.Context, req ctrl.Request) (
|
||||
}
|
||||
|
||||
defer func() {
|
||||
if err := r.Get(ctx, req.NamespacedName, &irsav1alpha1.IRSASetup{}); err != nil {
|
||||
if e := r.Get(ctx, req.NamespacedName, &irsav1alpha1.IRSASetup{}); e != nil {
|
||||
return
|
||||
}
|
||||
statusHandler := handler.NewStatusHandler(kubeClient)
|
||||
if err := statusHandler.Patch(ctx, obj); err != nil {
|
||||
if e := statusHandler.Patch(ctx, obj); e != nil {
|
||||
return
|
||||
}
|
||||
}()
|
||||
|
||||
Reference in New Issue
Block a user