Glance stores library
ac5abddb6f
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 |
||
---|---|---|
doc | ||
etc/glance | ||
glance_store | ||
releasenotes | ||
tools | ||
.gitignore | ||
.gitreview | ||
.stestr.conf | ||
.zuul.yaml | ||
babel.cfg | ||
LICENSE | ||
lower-constraints.txt | ||
README.rst | ||
requirements.txt | ||
run_tests.sh | ||
setup.cfg | ||
setup.py | ||
test-requirements.txt | ||
tox.ini |
Team and repository tags
Glance Store Library
Glance's stores library
This library has been extracted from the Glance source code for the specific use of the Glance and Glare projects.
The API it exposes is not stable, has some shortcomings, and is not a general purpose interface. We would eventually like to change this, but for now using this library outside of Glance or Glare will not be supported by the core team.
- License: Apache License, Version 2.0
- Documentation: https://docs.openstack.org/glance_store/latest/
- Source: http://git.openstack.org/cgit/openstack/glance_store
- Bugs: https://bugs.launchpad.net/glance-store