Skip to content

Commit

Permalink
Merge pull request #10 from stefanvanburen/svanburen/cleanup-client
Browse files Browse the repository at this point in the history
Cleanup client
  • Loading branch information
stefanvanburen authored Mar 21, 2024
2 parents 2e9aa64 + fae3cf9 commit 407b46f
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 407b46f

Please sign in to comment.