Skip to content

ZENOH_CONFIG is only used in Config::from_env #2239

@fuzzypixelz

Description

@fuzzypixelz

The API around DEFAULT_CONFIG_PATH_ENV doesn't make much sense. We have:

Thus DEFAULT_CONFIG_PATH_ENV only exists to document what environment variable Config::from_env will use to lookup a file.

This led to some confusion (see "Loading Zenoh plugins" on the community support channel) where users expect this to also override the configuration file used by a session.

We should consider extending the use of ZENOH_CONFIG to fit this function.

System info

  • ref: 1.6.2

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions