Skip to content

Commit d7a5a06

Browse files
make sure we initialize Spec on ConfigureIndex
1 parent 9ca219f commit d7a5a06

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

pinecone/client.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1205,6 +1205,7 @@ func (c *Client) ConfigureIndex(ctx context.Context, name string, in ConfigureIn
12051205
existingTags := idxDesc.Tags
12061206

12071207
var request db_control.ConfigureIndexRequest
1208+
request.Spec = &db_control.ConfigureIndexRequest_Spec{}
12081209

12091210
// Apply pod configurations
12101211
if podType != nil || replicas != nil {

0 commit comments

Comments
 (0)