Skip to content

Commit 2ebf265

Browse files
committed
Update to fix linter issue
Signed-off-by: Xavi Garcia <xavi.garcia@suse.com>
1 parent 8f3b41c commit 2ebf265

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

internal/cmd/controller/reconciler/bundle_controller.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -626,7 +626,7 @@ func (r *BundleReconciler) repairHashMismatch(ctx context.Context, bundle *fleet
626626
}
627627

628628
secret := &corev1.Secret{}
629-
if err := r.Client.Get(ctx, client.ObjectKey{Namespace: bd.Namespace, Name: bd.Name}, secret); err != nil {
629+
if err := r.Get(ctx, client.ObjectKey{Namespace: bd.Namespace, Name: bd.Name}, secret); err != nil {
630630
if apierrors.IsNotFound(err) {
631631
continue
632632
}

0 commit comments

Comments
 (0)