Skip to content

Commit

Permalink
chore: resolve conflicts
Browse files Browse the repository at this point in the history
Signed-off-by: Case Wylie <[email protected]>
  • Loading branch information
cmwylie19 committed Nov 5, 2024
1 parent 45ac205 commit 4b6fc12
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/fluent/watch.ts
Original file line number Diff line number Diff line change
Expand Up @@ -470,7 +470,7 @@ export class Watcher<T extends GenericClass> {
}
};

#getHTTPSAgent = (opts: RequestInit) => {
static getHTTPSAgent = (opts: RequestInit) => {
// In cluster there will be agent - testing or dev no
const agentOptions =
opts.agent instanceof https.Agent
Expand Down Expand Up @@ -515,7 +515,7 @@ export class Watcher<T extends GenericClass> {

const response = await fetch(url, {
headers,
dispatcher: this.#getHTTPSAgent(opts),
dispatcher: Watcher.getHTTPSAgent(opts),
});

// Reset the pending reconnect flag
Expand Down

0 comments on commit 4b6fc12

Please sign in to comment.