Skip to content

Commit

Permalink
rename variable
Browse files Browse the repository at this point in the history
  • Loading branch information
DiegoPerezGarcia committed Jul 16, 2024
1 parent d36ec49 commit 9a7ad8a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions pkg/cmd/owner/http.go
Original file line number Diff line number Diff line change
Expand Up @@ -48,8 +48,8 @@ func listAllOrgs(httpClient *http.Client, hostname string) (*OrganizationList, e
}
}`

cachedClient := api.NewCachedHTTPClient(httpClient, time.Hour*24*7)
client := api.NewClientFromHTTP(cachedClient)
cachedHTTPClient := api.NewCachedHTTPClient(httpClient, time.Hour*24*7)
client := api.NewClientFromHTTP(cachedHTTPClient)

user, err := api.CurrentLoginName(client, hostname)
if err != nil {
Expand Down

0 comments on commit 9a7ad8a

Please sign in to comment.