From 712ec7f06f60423c4c264a606b5ede4cd4fb483f Mon Sep 17 00:00:00 2001 From: xc Date: Sun, 28 Sep 2025 14:05:11 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E4=BB=A3=E7=A0=81?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- scagent/core/FileRpc.go | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/scagent/core/FileRpc.go b/scagent/core/FileRpc.go index 7bd14f6..c02230d 100644 --- a/scagent/core/FileRpc.go +++ b/scagent/core/FileRpc.go @@ -135,8 +135,6 @@ func transferFile(c *UpFileClient, filePath string, uploadPath string) error { fmt.Printf("remote dirpath: %s\n", dirpath) fmt.Printf("file size: %d\n", fileInfo.Size()) - fmt.Printf("rpcClient: %v\n", c.rpcClient) - // 异步 go func() { // 发送文件信息 @@ -146,7 +144,7 @@ func transferFile(c *UpFileClient, filePath string, uploadPath string) error { FileSize: fileInfo.Size(), }, &reply) // 输出执行的结果 - fmt.Printf("SendFileInfo result: %s\n", reply) + fmt.Printf("SendFileInfo result: %v\n", reply) }() return nil