Commit f2df730
committed
fix on CI error
Problem: The SocksProxyAgent from socks-proxy-agent@6.2.0-beta.0 has incompatible types with
Telegraf's expected Agent interface.
Solution: Used a type assertion (as any) to bypass the TypeScript type checking for the agent
property, while preserving the spread operator to maintain other options.1 parent 288c6ac commit f2df730
1 file changed
Lines changed: 2 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
31 | 31 | | |
32 | 32 | | |
33 | 33 | | |
| 34 | + | |
34 | 35 | | |
35 | | - | |
| 36 | + | |
36 | 37 | | |
37 | 38 | | |
38 | 39 | | |
| |||
0 commit comments