mirror of
https://gitee.com/milvus-io/milvus.git
synced 2026-01-07 19:31:51 +08:00
enhance: Remove debug log in rg handler v2 (#40376)
Remove debug log in resource group handler Signed-off-by: Congqi Xia <congqi.xia@zilliz.com>
This commit is contained in:
parent
3db56560fb
commit
fde80bc8b7
@ -26,7 +26,6 @@ import (
|
||||
"github.com/milvus-io/milvus-proto/go-api/v2/commonpb"
|
||||
"github.com/milvus-io/milvus-proto/go-api/v2/milvuspb"
|
||||
"github.com/milvus-io/milvus-proto/go-api/v2/rgpb"
|
||||
"github.com/milvus-io/milvus/pkg/v2/log"
|
||||
)
|
||||
|
||||
func toKVPair(data map[string]string) []*commonpb.KeyValuePair {
|
||||
@ -86,16 +85,12 @@ func (h *HandlersV2) createResourceGroup(ctx context.Context, c *gin.Context, an
|
||||
ResourceGroup: httpReq.GetName(),
|
||||
Config: toPbResourceGroupConfig(httpReq.GetConfig()),
|
||||
}
|
||||
log.Info("f1")
|
||||
resp, err := wrapperProxyWithLimit(ctx, c, req, h.checkAuth, false, "/milvus.proto.milvus.MilvusService/CreateResourceGroup", true, h.proxy, func(reqCtx context.Context, req any) (interface{}, error) {
|
||||
return h.proxy.CreateResourceGroup(reqCtx, req.(*milvuspb.CreateResourceGroupRequest))
|
||||
})
|
||||
log.Info("f2")
|
||||
if err == nil {
|
||||
log.Info("f3")
|
||||
HTTPReturn(c, http.StatusOK, wrapperReturnDefault())
|
||||
}
|
||||
log.Info("f4")
|
||||
return resp, err
|
||||
}
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user