glance_store/glance_store
Cyril Roelandt ac5abddb6f Fix some types in the FS and VMware drivers
The _get_datadir_path_and_priority and _parse_datastore_info_and_weight methods
may return the priority (or weight) as an integer or a string. This causes a few
issues:

- the caller must cast the result to an integer
- the code is harder to read
- static checkers such as mypy have a hard time processing these methods

We make sure that both methods now return the priority as an integer.

Closes-Bug: #1813092
Change-Id: I9435c88560b01737f9310fe2cba1ca4c84e0f3fa
2019-01-24 01:14:26 +01:00
..
_drivers Fix some types in the FS and VMware drivers 2019-01-24 01:14:26 +01:00
common Use oslo_utils.encodeutils.exception_to_unicode() 2016-01-21 11:07:10 +01:00
locale Imported Translations from Zanata 2018-08-15 06:21:39 +00:00
tests Fix some types in the FS and VMware drivers 2019-01-24 01:14:26 +01:00
__init__.py Enable multi store support for glance 2018-07-15 15:10:27 +00:00
backend.py Update deprecation notices 2018-12-20 11:24:44 -05:00
capabilities.py Cleanup i18n marker functions to match Oslo usage 2016-07-20 16:11:42 -04:00
driver.py Multihash Implementation for Glance 2018-07-18 09:27:54 -04:00
exceptions.py Multihash Implementation for Glance 2018-07-18 09:27:54 -04:00
i18n.py Update oslo libraries 2015-03-19 11:43:42 -05:00
location.py Merge "Address multi store nits" 2018-07-19 17:25:15 +00:00
multi_backend.py Provision to add new config options in sample config file 2018-09-18 10:18:54 +00:00