[skip e2e]Fix missed logger with information (#21859)

Signed-off-by: jaime <yun.zhang@zilliz.com>
This commit is contained in:
jaime 2023-01-30 11:51:49 +08:00 committed by GitHub
parent bcae97b125
commit e14f96a8e4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -92,7 +92,7 @@ func (dh *distHandler) start(ctx context.Context) {
}
func (dh *distHandler) logFailureInfo(resp *querypb.GetDataDistributionResponse, err error) {
log.With(zap.Int64("nodeID", dh.nodeID))
log := log.With(zap.Int64("nodeID", dh.nodeID))
if err != nil {
log.Warn("failed to get data distribution",
zap.Error(err))