Skip to content

There should be a way to prevent python-etcd from appending a slash to key names #257

@graysonchao

Description

@graysonchao

I am using etcd in https://github.com/graysonchao/credis as a state store for a distributed system, and I'd like to use python-etcd + Flask to make a small web API for monitoring purposes. Unfortunately, my key naming convention doesn't have leading slashes - keys look like credis:DIR/DIR/FILE. Is the Unix-style leading slash a best practices-related convention that I'm unaware of, or should there be an option that I can pass to python-etcd methods to ask not to have a trailing slash appended?

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