fix: resolve failing test and build errors

Made-with: Cursor
This commit is contained in:
wizardchen
2026-04-08 22:20:32 +08:00
parent d9cf4b7aa9
commit f07561f6b6
4 changed files with 36 additions and 17 deletions
+1 -1
View File
@@ -648,7 +648,7 @@ func (h *SystemHandler) checkMinio(c *gin.Context, ctx context.Context, cfg *typ
if cfg.Mode == "remote" {
if blocked, reason := isBlockedStorageEndpoint(endpoint); blocked {
logger.Warnf(ctx, "Storage check: MinIO endpoint blocked by SSRF protection endpoint=%s", endpoint)
logger.Warnf(ctx, "Storage check: MinIO endpoint blocked by SSRF protection, endpoint: %s", endpoint)
c.JSON(200, gin.H{"code": 0, "data": StorageCheckResponse{OK: false, Message: reason}})
return
}