Skip to content

bug: connection string example is inconsistent with implementation #717

@houz42

Description

@houz42

The document shows an example connection string:

s3://?credential=hmac:xxxx:xxxx&endpoint=http://s3.us-east-2.amazonaws.com

While the endpoint in it will not be parsed correctly by the s3 service.
The s3 service uses go-endpoint to parse the endpoint value, which defines endpoints as the form of http:s3.us-east-2.amazonaws.com, no // after the http:

I am using:

  • go-storage: v4.4.1
  • s3-service: v2.3.0

By the way, I'am happy to fix it, but not sure which solution is preferred:

  • make go-endpoint respect the // notation,
  • or update the doc

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