Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
There currently is a problem with ctl-0, which is where we always fetched backups from. This extends the fetch script to look in the directories of other controllers too. Additionally, it fixes a KeyError when nothing is returned from the query. It now checks for the presence of the key, rather than size. ```python File "/app/openstack_billing_db/fetch.py", line 67, in download_latest_dump_from_s3 if len(dumps["Contents"]) == 0: ~~~~~^^^^^^^^^^^^ KeyError: 'Contents' ```
- Loading branch information