From fae3cf94e1d5b77555b36948872f6d00b23211e6 Mon Sep 17 00:00:00 2001 From: Stefan VanBuren Date: Thu, 21 Mar 2024 08:47:48 -0400 Subject: [PATCH] Cleanup client This client was being created just to be closed - oops. --- main.go | 2 -- 1 file changed, 2 deletions(-) diff --git a/main.go b/main.go index 5de958a..b07e83a 100644 --- a/main.go +++ b/main.go @@ -602,8 +602,6 @@ type contentsMsg *modulev1beta1.DownloadResponse_Content func (m model) getCommitContent(commitName string) tea.Cmd { return func() tea.Msg { - client := httplb.NewClient() - defer client.Close() commitServiceClient := modulev1beta1connect.NewDownloadServiceClient( m.httpClient, fmt.Sprintf("https://%s", m.hostname),