canonical / canonical/postgresql-operator
[RFE] Can we move `_create_bucket_if_not_exists` to the s3 interface?
Open
enhancement
- Dominant language
- Python
- Stars
- 20
- Forks
- 36
- Avg merge
- 4d 15h
- Merged PRs (30d)
- 30
Description
In your `backups.py`, there is a method called `_create_bucket_if_not_exists`, which I think is pretty useful. However, to not repeat the same code across multiple charms, can we move this method to the s3 library?
That way, no charm needs to actually change anything anymore, besides adding an extra `s3` dependency.
Contributor guide
Assessment
This issue has not been assessed yet.