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

NAS-133327 / 25.04 / Remove @accepts from certain failover endpoints #15289

Merged
merged 4 commits into from
Dec 31, 2024

Conversation

yocalebo
Copy link
Contributor

These are private endpoints that don't need to be decorated with @accepts.

@yocalebo yocalebo requested a review from a team December 31, 2024 14:15
@bugclerk bugclerk changed the title Remove @accepts from certain failover endpoints NAS-133327 / 25.04 / Remove @accepts from certain failover endpoints Dec 31, 2024
@bugclerk
Copy link
Contributor

@creatorcary
Copy link
Contributor

Are we not using api_method(..., private=True) for any of the remaining private endpoints to convert?

@yocalebo yocalebo requested a review from creatorcary December 31, 2024 14:59
@yocalebo
Copy link
Contributor Author

Are we not using api_method(..., private=True) for any of the remaining private endpoints to convert?

Nah, not for these endpoints. The added complexity/overhead isn't needed for these.

@yocalebo yocalebo merged commit 01de1f7 into master Dec 31, 2024
2 checks passed
@yocalebo yocalebo deleted the api-things1 branch December 31, 2024 15:22
@bugclerk
Copy link
Contributor

This PR has been merged and conversations have been locked.
If you would like to discuss more about this issue please use our forums or raise a Jira ticket.

@truenas truenas locked as resolved and limited conversation to collaborators Dec 31, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants