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

remove FIQL filter to avoid bug #204

Merged
merged 1 commit into from
Oct 2, 2024
Merged

remove FIQL filter to avoid bug #204

merged 1 commit into from
Oct 2, 2024

Conversation

tuxtof
Copy link
Contributor

@tuxtof tuxtof commented Oct 2, 2024

What this PR does / why we need it:

FIQL filtering has been deprecated by the APIs for some time now. We should avoid using it altogether. We were doing a 2-pass filtering earlier (FIQL + Client Side) and with this change we remove the first pass filtering and all filtering will be done by what was earlier the second pass client side filter.

How Has This Been Tested?:

manual test with different subnet name

  • VLAN000(NOIPAM)
  • VLAN000|NOIPAM
  • VLAN000-IPAM

Special notes for your reviewer:

Please confirm that if this PR changes any image versions, then that's the sole change this PR makes.

Release note:

- remove server side filtering

@thunderboltsid
Copy link
Contributor

LGTM for most part; while at it let's use strings.EqualFold for string equality check similar to https://github.com/nutanix-cloud-native/cluster-api-provider-nutanix/pull/485/files#diff-7d084ba6e9e15005850c1b44d72d457cef09f12badee416beda37f957a242364R211

@tuxtof tuxtof merged commit 1d50375 into main Oct 2, 2024
14 checks passed
@tuxtof tuxtof deleted the fix/fiql-remove-filter branch October 2, 2024 16:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants