Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix model search for deleting connector #3671

Merged
merged 1 commit into from
Mar 19, 2025

Conversation

dbwiddis
Copy link
Member

@dbwiddis dbwiddis commented Mar 19, 2025

Description

The model search for delete connector incorrectly overwrote the search for connector ID with one for tenant ID.

There is no need to handle tenant ID in searching, as it is handled by the sdk client when tenant awarness is set, see here and here.

Also removed the (redundant) filtering in the search for models in a model group. This properly appended the filter, but as it is handled by the client, is also unnecessary.

Added 41353eb to integ test PR #3516 which will fail until this PR is merged.

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
For more information on following Developer Certificate of Origin and signing off your commits, please check here.

Signed-off-by: Daniel Widdis <widdis@gmail.com>
@dbwiddis dbwiddis temporarily deployed to ml-commons-cicd-env-require-approval March 19, 2025 01:05 — with GitHub Actions Inactive
@dbwiddis dbwiddis temporarily deployed to ml-commons-cicd-env-require-approval March 19, 2025 01:05 — with GitHub Actions Inactive
@dbwiddis dbwiddis temporarily deployed to ml-commons-cicd-env-require-approval March 19, 2025 01:05 — with GitHub Actions Inactive
@dbwiddis dbwiddis temporarily deployed to ml-commons-cicd-env-require-approval March 19, 2025 01:05 — with GitHub Actions Inactive
@dbwiddis dbwiddis had a problem deploying to ml-commons-cicd-env-require-approval March 19, 2025 02:09 — with GitHub Actions Failure
@dbwiddis dbwiddis had a problem deploying to ml-commons-cicd-env-require-approval March 19, 2025 02:09 — with GitHub Actions Failure
@dbwiddis dbwiddis mentioned this pull request Mar 19, 2025
3 tasks
@dhrubo-os dhrubo-os merged commit a381e10 into opensearch-project:main Mar 19, 2025
11 of 15 checks passed
opensearch-trigger-bot bot pushed a commit that referenced this pull request Mar 19, 2025
Signed-off-by: Daniel Widdis <widdis@gmail.com>
(cherry picked from commit a381e10)
dhrubo-os pushed a commit that referenced this pull request Mar 19, 2025
Signed-off-by: Daniel Widdis <widdis@gmail.com>
(cherry picked from commit a381e10)

Co-authored-by: Daniel Widdis <widdis@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants