Skip to content

Commit f8484ef

Browse files
committed
Fix get to index_config
1 parent e683d30 commit f8484ef

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pinecone/manage.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -201,7 +201,7 @@ def describe_index(name: str):
201201
return IndexDescription(name=db['name'], metric=db['metric'],
202202
replicas=db['replicas'], dimension=db['dimension'], shards=db['shards'],
203203
pods=db.get('pods', db['shards'] * db['replicas']), pod_type=db.get('pod_type', 'p1'),
204-
index_config=db['index_config'], status={'ready': ready, 'state': state},
204+
index_config=db.get('index_config'), status={'ready': ready, 'state': state},
205205
metadata_config=db.get('metadata_config'),
206206
source_collection=db.get('source_collection', ''))
207207

0 commit comments

Comments
 (0)