-
Notifications
You must be signed in to change notification settings - Fork 57
all: IDsFromName to return multiple results #156
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
all: IDsFromName to return multiple results #156
Conversation
463e6c4
to
ee6309e
Compare
I consider this patch ready for review (and possibly, merge). Thank you for your time! CC @jtopjian |
very handy! |
I'd sync the code with other services: compute, image, etc. |
I agree that this is handy - thank you! If it's not too much trouble, @kayrus makes a good point that we should add this for the other resources for consistency. If you don't have the time or desire to do that, just let me know. I'll merge this and then take care of the other resources. |
I submit to the will of the people! 😁 |
@jtopjian
|
ee6309e
to
b4daec5
Compare
b4daec5
to
ab26f0b
Compare
This patch adds a function in the utils packages that returns all the IDs of the items with the given name. This patch leaves the behaviour of the existing `IDFromName` functions untouched, while it reduces code duplication.
ab26f0b
to
370a073
Compare
That should be it. I have only updated the latest version per package. Note that I have removed Please spend a moment checking that everything is alright, because that's a lot of copy-pasta and I need some backup eyes |
I've tested everything but the Manila stuff, since I don't have access to a Manila environment. Short of that, this all looks good to me - thanks so much. |
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.
LGTM - thank you!
This patch adds a function in the utils packages that returns all the
IDs of the items with the given name.
This patch leaves the behaviour of the existing
IDFromName
functionsuntouched, while it reduces code duplication.