Ville Vesilehto
b21c752d7f
chore(lint): enable gosec ( #7792 )
...
Enable "gosec" linter.
Exclude:
- All G115 (integer overflow) findings, to be fixed separately.
Add targeted gosec annotations for:
- non-crypto math/rand usage
- md5 used only for file change detection
- G114 ("net/http serve with no timeout settings"), to be fixed
separately.
Other findings fixed.
Signed-off-by: Ville Vesilehto <ville@vesilehto.fi >
2025-12-29 14:01:27 -08:00
Manuel Rüger
76ba39ffe9
chore: Upgrade to golangci-lint v2 ( #7236 )
...
Signed-off-by: Manuel Rüger <manuel@rueg.eu >
2025-04-04 14:27:39 -04:00
Zhizhen He
5de473da1c
fix: remove unnecessary conversion ( #6258 )
...
Signed-off-by: Zhizhen He <hezhizhen.yi@gmail.com >
2023-08-14 15:14:09 +02:00
Zhizhen He
2fe5890d8b
Fix typos ( #6235 )
...
* Fix typos and add todo to fix spelling of dnsutil.MaximumDefaulTTL
Signed-off-by: Zhizhen He <hezhizhen.yi@gmail.com >
2023-08-10 11:06:48 -04:00
Gabor Dozsa
52f1c64e7d
plugin/loadbalance: Improve weights update ( #5906 )
...
Don't lock weights for duration of parsing weight file. Add
missing check to reject zero weight values.
Signed-off-by: Gabor Dozsa <gabor.dozsa@ibm.com >
2023-02-15 12:43:19 -05:00
Fish-pro
1b001ec229
fix typo for log output ( #5909 )
...
Signed-off-by: Fish-pro <zechun.chen@daocloud.io >
2023-02-10 09:39:55 -05:00
Gabor Dozsa
7da2cedaf0
Add weighted-round-robin policy to loadbalance plugin ( #5662 )
...
* Add weighted-round-robin policy to loadbalance plugin
Signed-off-by: Gabor Dozsa <gabor.dozsa@ibm.com >
2023-01-27 11:36:56 -05:00