Skip to content

Commit f684950

Browse files
committed
notifications.source.Client: Remove unused cfg
1 parent 2bf06de commit f684950

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

notifications/source/client.go

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,6 @@ func (b *basicAuthTransport) RoundTrip(req *http.Request) (*http.Response, error
4040
// It stores the configuration for the API endpoint and holds a reusable HTTP client for requests. To create a Client,
4141
// the NewClient function should be used.
4242
type Client struct {
43-
cfg Config
4443
httpClient http.Client
4544
processEventEndpoint string
4645
}
@@ -60,7 +59,6 @@ func NewClient(cfg Config, clientName string) (*Client, error) {
6059
processEventEndpoint := baseUrl.JoinPath("/process-event").String()
6160

6261
return &Client{
63-
cfg: cfg,
6462
httpClient: http.Client{
6563
Transport: &basicAuthTransport{
6664
RoundTripper: http.DefaultTransport,

0 commit comments

Comments
 (0)