Update tool dependencies (#36445)

Updates all dependencies in `Makefile`. The go fix was done
automatically, I just altered the variable name.

---------

Co-authored-by: wxiaoguang <wxiaoguang@gmail.com>
This commit is contained in:
silverwindandwxiaoguang authored and GitHub committed 2026-01-24 09:58:28 +01:00
1 parent 5925433fe6
commit a608b9e1e3
3 files changed
+6 -6

No files matched your search

+2 -2
View File
@@ -219,8 +219,8 @@ func portOnly(hostport string) string {
if !ok {
return ""
}
if i := strings.Index(hostport, "]:"); i != -1 {
return hostport[i+len("]:"):]
if _, after2, ok2 := strings.Cut(hostport, "]:"); ok2 {
return after2
}
if strings.Contains(hostport, "]") {
return ""