-
Notifications
You must be signed in to change notification settings - Fork 14
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Use oslo_utils.is_uuid_like for id_or_uuid
Code from the stone age was using isinstance(..., str) to check the potential UUID-ness of an input param. With a "fix" in oslo.versionedobjects [1] this started causing failures in VSCSI delete paths that used find_maps. Here we switch over to using the more modern is_uuid_like from oslo.utils. [1] https://review.openstack.org/#/q/Ic6b6308fb1960ec40407e6efde30137b64543e72 Closes-Bug: #1766692 Change-Id: If0ffa8157890b862c67fc720a55f0e899b23d587
- Loading branch information
Eric Fried
committed
Apr 25, 2018
1 parent
ac6a823
commit d55b4c8
Showing
2 changed files
with
15 additions
and
13 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters