mirror of
https://github.com/Tencent/WeKnora.git
synced 2025-11-25 19:37:45 +08:00
fix: remove print cos secret
This commit is contained in:
@@ -1634,8 +1634,8 @@ func (h *InitializationHandler) TestMultimodalFunction(c *gin.Context) {
|
||||
}
|
||||
switch req.StorageType {
|
||||
case "cos":
|
||||
logger.Infof(ctx, "COS config: ID=%s, Region=%s, Bucket=%s, App=%s, Prefix=%s",
|
||||
req.COSSecretID, req.COSRegion, req.COSBucketName, req.COSAppID, req.COSPathPrefix)
|
||||
logger.Infof(ctx, "COS config: Region=%s, Bucket=%s, App=%s, Prefix=%s",
|
||||
req.COSRegion, req.COSBucketName, req.COSAppID, req.COSPathPrefix)
|
||||
// 必填:SecretID/SecretKey/Region/BucketName/AppID;PathPrefix 可选
|
||||
if req.COSSecretID == "" || req.COSSecretKey == "" ||
|
||||
req.COSRegion == "" || req.COSBucketName == "" ||
|
||||
|
||||
Reference in New Issue
Block a user