Skip to content

Commit

Permalink
Fix deprecation
Browse files Browse the repository at this point in the history
  • Loading branch information
paultyng committed Oct 20, 2022
1 parent 3ebd439 commit 124385d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion internal/provider/lazy_client.go
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ func setHTTPClient(c *unifi.Client, insecure bool) {
},
}

httpClient.Transport = logging.NewTransport("Unifi", httpClient.Transport)
httpClient.Transport = logging.NewSubsystemLoggingHTTPTransport("Unifi", httpClient.Transport)

jar, _ := cookiejar.New(nil)
httpClient.Jar = jar
Expand Down

0 comments on commit 124385d

Please sign in to comment.