[skip ci]Fix error log output format in meta_service.go (#13349)

Signed-off-by: JackLCL <chenglong.li@zilliz.com>
This commit is contained in:
JackLCL 2021-12-14 16:43:25 +08:00 committed by GitHub
parent 302584c59c
commit 5f02a3738a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -66,7 +66,7 @@ func (mService *metaService) getCollectionSchema(ctx context.Context, collID Uni
} }
if response.GetStatus().GetErrorCode() != commonpb.ErrorCode_Success { if response.GetStatus().GetErrorCode() != commonpb.ErrorCode_Success {
return nil, fmt.Errorf("Describe collection %v from rootcoord wrong: %s", collID, response.GetStatus().GetReason()) return nil, fmt.Errorf("describe collection %v from rootcoord wrong: %s", collID, response.GetStatus().GetReason())
} }
return response.GetSchema(), nil return response.GetSchema(), nil