Skip to content

Bad error message - "failed to run" error="unknown replica type in config: \"s3\"" #628

Open
@KevinColemanInc

Description

@KevinColemanInc

ReplicaType() is actually calculated from the url attribute, but the error message hints the type is from the Type attribute in the yaml file.

https://github.com/benbjohnson/litestream/blob/0.3.x/cmd/litestream/main.go#L376

This line should be changed to:

		return nil, fmt.Errorf("unknown replica type in config: %q", c.ReplicaType())

For future people, you probably don't want to use url, but endpoint

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions