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

Rename the repos API's custom detail name field #5046

Merged
merged 3 commits into from
Jul 11, 2022
Merged

Conversation

antgamdia
Copy link
Contributor

Description of the change

This PR just changes the names of RepositoryCustomDetails to HelmPackageRepositoryCustomDetail and PackageRepositoryCustomDetail to KappControllerPackageRepositoryCustomDetail.

Benefits

This consistent naming across plugins ensures that the clients can easily identify which custom detail object is using each time. Otherwhise, we would have to just rely on the import path, which can become quite misleading sometimes.

Possible drawbacks

N/A

Applicable issues

Additional information

N/A

Signed-off-by: Antonio Gamez Diaz <agamez@vmware.com>
Signed-off-by: Antonio Gamez Diaz <agamez@vmware.com>
Signed-off-by: Antonio Gamez Diaz <agamez@vmware.com>
@netlify
Copy link

netlify bot commented Jul 8, 2022

Deploy Preview for kubeapps-dev canceled.

Name Link
🔨 Latest commit 5c3581d
🔍 Latest deploy log https://app.netlify.com/sites/kubeapps-dev/deploys/62c859f170fd3f00084d11e7

@antgamdia antgamdia changed the title 5016 uniform names Rename the repos API's custom detail name field Jul 8, 2022
Copy link
Collaborator

@castelblanque castelblanque left a comment

Choose a reason for hiding this comment

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

LGTM, thanks.

@antgamdia antgamdia merged commit b69df0d into main Jul 11, 2022
@antgamdia antgamdia deleted the 5016-uniformNames branch July 11, 2022 07:42
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.

Rename RepositoryCustomDetails to something more specific
3 participants