Skip to content

Commit

Permalink
Cleanup client
Browse files Browse the repository at this point in the history
This client was being created just to be closed - oops.
  • Loading branch information
stefanvanburen committed Mar 21, 2024
1 parent 2e9aa64 commit fae3cf9
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions main.go
Original file line number Diff line number Diff line change
Expand Up @@ -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),
Expand Down

0 comments on commit fae3cf9

Please sign in to comment.