restic/s3/client.go

Summary

Maintainability
A
35 mins
Test Coverage

Method Client.Connect has 5 return statements (exceeds 4 allowed).
Open

func (c *Client) Connect(ctx context.Context) error {
    u, err := url.Parse(c.Endpoint)
    if err != nil {
        return fmt.Errorf("error parsing S3 Endpoint URL: %w", err)
    }
Severity: Major
Found in restic/s3/client.go - About 35 mins to fix

    There are no issues that match your filters.

    Category
    Status