Skip to content

[chloggen] accept config to be an absolute path #1387

@atoulme

Description

@atoulme

Component

chloggen

Bug Description

chloggen config parameter is always evaluated as a relative path to current pwd.

Steps To Reproduce

chloggen update --config /Users/atoulme/w/opentelemetry-collector-contrib/.chloggen/config.yaml --version  --component exporter/elasticsearch

Gives

FAIL: Could not load config file: open /Users/atoulme/w/opentelemetry-collector-contrib/exporter/elasticsearchexporter/Users/atoulme/w/opentelemetry-collector-contrib/.chloggen/config.yaml: no such file or directory

Expected Behavior

No issues

Tip

React with 👍 to help prioritize this issue. Please use comments to provide useful context, avoiding +1 or me too, to help us triage it. Learn more here.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingchloggenRelated to the chloggen command.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions