-
Notifications
You must be signed in to change notification settings - Fork 595
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
Add verbose
parameter to remove-disks endpoint valid parameter list
#2106
base: main
Are you sure you want to change the base?
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Those parameters aren't being used for anything, what's the purpose of adding them?
So the request doesn't error?
Yes @mhratson, so that it dosn't fail |
Sorry, but that failure, as for now, is by design. Making this particular change makes very little sense, as client should be able to handle this error without resorting to inconsistent API changes. Why are you expecting it not to fail? |
I understand that these parameters have no function for this particular endpoint at this time but I wouldn't say these changes are inconsistent API changes. Most if not all the other endpoints have a Of course, a client could handle the error, but I believe a small change like this would be worth the gain of making the API more user-friendly!
From what I understand, Shubham has existing client code that works with similar endpoints but fails with this particular endpoint due to the parameter differences. |
Yes @kyguy. Also When we have |
Hi @mhratson, just wanted to follow up on this issue, Does the above reason sounds suffice to get these changes merged. I mean when we move the data etween disks it can cause the broker load to change so I guess it would be good to have both |
Inconsistent meaning that some endpoints accept
Depending how one looks at it: user using My opinion, to be consistent
I think as is, this PR makes 2 changes that are unused, while one can argue for To reiterate:
I think it's a good opportunity to revisit the current API and make consistent changes across the board not just cherry-picking for a single client. |
@mhratson Hi, we can probably skip the |
…point Signed-off-by: ShubhamRwt <[email protected]>
Signed-off-by: ShubhamRwt <[email protected]>
verbose
and skip_hard_goal_check
parameter to remove-disks endpoint valid parameter listverbose
parameter to remove-disks endpoint valid parameter list
Hi @mhratson, based on the above suggestion I went through all the |
Signed-off-by: ShubhamRwt <[email protected]>
Description
This PR resolves #2105. This PR adds
verbose
andskip_hard_goal_check
parameter to the valid parameters list ofremove-disks
endpoint.