mirror of
https://gitee.com/milvus-io/milvus.git
synced 2024-11-30 10:59:32 +08:00
enhance: remove .git folder for unit test workflow (#29833)
Signed-off-by: Congqi Xia <congqi.xia@zilliz.com>
This commit is contained in:
parent
e8496d4d49
commit
93f87417fd
2
.github/workflows/main.yaml
vendored
2
.github/workflows/main.yaml
vendored
@ -102,6 +102,7 @@ jobs:
|
||||
**/*
|
||||
!./.docker/**
|
||||
!./cmake_build/thirdparty/**
|
||||
!.git
|
||||
UT-Cpp:
|
||||
name: UT for Cpp
|
||||
needs: Build
|
||||
@ -181,7 +182,6 @@ jobs:
|
||||
./lcov_output.info
|
||||
*.info
|
||||
*.out
|
||||
.git
|
||||
integration-test:
|
||||
name: Integration Test
|
||||
needs: Build
|
||||
|
@ -671,7 +671,7 @@ func (node *QueryNode) SearchSegments(ctx context.Context, req *querypb.SearchRe
|
||||
|
||||
metrics.QueryNodeSQCount.WithLabelValues(fmt.Sprint(paramtable.GetNodeID()), metrics.SearchLabel, metrics.TotalLabel, metrics.FromLeader).Inc()
|
||||
defer func() {
|
||||
if resp.GetStatus().GetErrorCode() != commonpb.ErrorCode_Success {
|
||||
if !merr.Ok(resp.GetStatus()) {
|
||||
metrics.QueryNodeSQCount.WithLabelValues(fmt.Sprint(paramtable.GetNodeID()), metrics.SearchLabel, metrics.FailLabel, metrics.FromLeader).Inc()
|
||||
}
|
||||
}()
|
||||
|
Loading…
Reference in New Issue
Block a user