Skip to content

Make S3Storage get_client pub #1487

@d0rianb

Description

@d0rianb

Is there any particular reason for this method to be private :

async fn get_client(&self, settings: &Settings) -> &Arc<Client> {

It would be nice to be able to use it to retrieve the s3 client from the storage, to benefit from the init_or_get single initalization

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions