fix: upgrade go 1.24 (#23241)

This commit is contained in:
屈轩
2025-09-05 18:26:33 +08:00
committed by GitHub
parent 3fdab63193
commit eb82b9d9ca
223 changed files with 659 additions and 1115 deletions

View File

@@ -33,7 +33,8 @@ import (
)
func (proxyendpoint *SProxyEndpoint) remoteCheckMake(ctx context.Context, userCred mcclient.TokenCredential) error {
ctx, _ = context.WithTimeout(ctx, 7*time.Second)
ctx, cancel := context.WithTimeout(ctx, 7*time.Second)
defer cancel()
conf := ssh_util.ClientConfig{
Username: proxyendpoint.User,
Host: proxyendpoint.Host,