Skip to content

Commit da333ee

Browse files
authored
fix: fixed the key names for retrieving segment info in the MilvusClient (#3098)
Signed-off-by: wangting0128 <ting.wang@zilliz.com>
1 parent 9627622 commit da333ee

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

pymilvus/milvus_client/milvus_client.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1853,8 +1853,8 @@ def list_loaded_segments(
18531853
)
18541854
return [
18551855
LoadedSegmentInfo(
1856-
info.segment_id,
1857-
info.collection_id,
1856+
info.segmentID,
1857+
info.collectionID,
18581858
collection_name,
18591859
info.num_rows,
18601860
info.is_sorted,
@@ -1887,8 +1887,8 @@ def list_persistent_segments(
18871887
)
18881888
return [
18891889
SegmentInfo(
1890-
info.segment_id,
1891-
info.collection_id,
1890+
info.segmentID,
1891+
info.collectionID,
18921892
collection_name,
18931893
info.num_rows,
18941894
info.is_sorted,

0 commit comments

Comments
 (0)