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: ApiVersion check fix #193

Merged
merged 1 commit into from
Oct 14, 2022
Merged

fix: ApiVersion check fix #193

merged 1 commit into from
Oct 14, 2022

Conversation

james-milligan
Copy link
Contributor

Signed-off-by: jamesmilligan james@omnant.co.uk

  • fixes api version comparison

This PR

Version check was failing in kube sync.
CRD APIVersion = core.openfeature.dev/v1alpha1
v1alpha1.GroupVersion.Version = v1alpha1

replaced with a constructed group version: fmt.Sprintf("%s/%s", v1alpha1.GroupVersion.Group, v1alpha1.GroupVersion.Version)

Signed-off-by: jamesmilligan <james@omnant.co.uk>
Copy link
Contributor

@skyerus skyerus left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

nice catch

@AlexsJones AlexsJones merged commit 3a524d6 into open-feature:main Oct 14, 2022
AlexsJones pushed a commit that referenced this pull request Oct 14, 2022
🤖 I have created a release *beep* *boop*
---


##
[0.2.4](v0.2.3...v0.2.4)
(2022-10-14)


### Bug Fixes

* ApiVersion check fix
([#193](#193))
([3a524d6](3a524d6))

---
This PR was generated with [Release
Please](https://github.com/googleapis/release-please). See
[documentation](https://github.com/googleapis/release-please#release-please).

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
@james-milligan james-milligan deleted the bug-fix-version branch October 14, 2022 10:46
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.

3 participants