canonical / canonical/postgresql-operator

[RFE] Can we move `_create_bucket_if_not_exists` to the s3 interface?

Open
#309 2 comments 0 reactions 0 assignees View on GitHub
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

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.