Skip to content

Commit d478971

Browse files
committed
direct: update VS index DoDelete to new 3-arg interface
The IResource.DoDelete signature gained a state parameter in #5279; add the unused state arg to keep ResourceVectorSearchIndex satisfying the interface after the main merge. Co-authored-by: Isaac
1 parent ac0b3f4 commit d478971

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

bundle/direct/dresources/vector_search_index.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -144,7 +144,7 @@ func (r *ResourceVectorSearchIndex) DoCreate(ctx context.Context, config *Vector
144144
// rejects the resulting Update plan at bundle_plan.go (see also the reflection
145145
// test in vector_search_index_test.go which catches it earlier at unit-test time).
146146

147-
func (r *ResourceVectorSearchIndex) DoDelete(ctx context.Context, id string) error {
147+
func (r *ResourceVectorSearchIndex) DoDelete(ctx context.Context, id string, _ *VectorSearchIndexState) error {
148148
return r.client.VectorSearchIndexes.DeleteIndexByIndexName(ctx, id)
149149
}
150150

0 commit comments

Comments
 (0)