Skip to content

Commit 96980e4

Browse files
committed
fix typos
1 parent 7119ea9 commit 96980e4

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

internal/api/api.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -108,8 +108,8 @@ func buildTransport(opts ClientOpts, flags *Flags) http.RoundTripper {
108108
tp.TLSClientConfig = &tls.Config{}
109109
}
110110

111-
if opts.ProxyPath != "" || opts.ProxyURL != nil {
112-
tp = withProxyTransport(transport, opts.ProxyURL, opts.ProxyPath)
111+
if opts.ProxyURL != nil || opts.ProxyPath != "" {
112+
tp = withProxyTransport(tp, opts.ProxyURL, opts.ProxyPath)
113113
}
114114

115115
transport = tp

0 commit comments

Comments
 (0)