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: properly validate max index #389

Merged
merged 1 commit into from
Mar 8, 2023

Conversation

phisco
Copy link
Contributor

@phisco phisco commented Mar 8, 2023

Description of your changes

Fixing previously introduced variable mismatch in tests and refactoring code.

I have:

  • Read and followed Crossplane's contribution process.
  • Run make reviewable test to ensure this PR is ready for review.

How has this code been tested

Added unit tests.

pkg/fieldpath/paved.go Outdated Show resolved Hide resolved
@phisco phisco force-pushed the dev/fix-max-index branch 3 times, most recently from 9cfa009 to 5ff9dd8 Compare March 8, 2023 14:35
@phisco phisco requested a review from turkenh March 8, 2023 14:38
pkg/fieldpath/paved.go Outdated Show resolved Hide resolved
pkg/fieldpath/paved.go Outdated Show resolved Hide resolved
@phisco phisco force-pushed the dev/fix-max-index branch 2 times, most recently from 4b252f4 to 1ee580d Compare March 8, 2023 14:54
pkg/fieldpath/paved.go Outdated Show resolved Hide resolved
Signed-off-by: Philippe Scorsolini <p.scorsolini@gmail.com>
@turkenh turkenh merged commit 043aa32 into crossplane:master Mar 8, 2023
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