Skip to content
This repository was archived by the owner on Mar 27, 2026. It is now read-only.

Commit 7c7f565

Browse files
authored
Leftover from test (#8)
1 parent a2d1d87 commit 7c7f565

File tree

1 file changed

+0
-6
lines changed

1 file changed

+0
-6
lines changed

internal/controller/vpcattachment_controller.go

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -75,12 +75,6 @@ func (r *VPCAttachmentReconciler) Reconcile(ctx context.Context, req ctrl.Reques
7575
if err := r.Status().Update(ctx, &vpcAttachment); err != nil {
7676
return ctrl.Result{}, err
7777
}
78-
if err := r.Get(ctx, vpcNamespacedName, &vpc); err != nil {
79-
return ctrl.Result{}, err
80-
}
81-
if err := r.Get(ctx, req.NamespacedName, &vpcAttachment); err != nil {
82-
return ctrl.Result{}, client.IgnoreNotFound(err)
83-
}
8478
}
8579

8680
nad := &nadv1.NetworkAttachmentDefinition{

0 commit comments

Comments
 (0)