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 the return type so it uses Upjet #330

Merged

Conversation

jake-ciolek
Copy link
Contributor

Description of your changes

The docs show the return type of GetProvider() as Terrajet's *tjconfig.Provider.

Update them to use the Upjet type - *ujconfig.Provider.

Ran into this while following the "Generating a Crossplane provider" guide.

I have:

  • Read and followed Upjet's contribution process.
  • Run make reviewable to ensure this PR is ready for review.
  • Added backport release-x.y labels to auto-backport this PR if necessary.

How has this code been tested

It's just a doc's change, make reviewable failed for me, but maybe it's to be expected.

The return type of GetProvider() uses Terrajet's *tjconfig.Provider.
Update it to use the Upjet type - *ujconfig.Provider.

Signed-off-by: Jakub Ciolek <jakub@ciolek.dev>
Copy link
Collaborator

@jeanduplessis jeanduplessis left a comment

Choose a reason for hiding this comment

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

Thank you for this fix @jake-ciolek

@jeanduplessis jeanduplessis merged commit ed4e0de into crossplane:main Jan 17, 2024
6 checks passed
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