You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Nov 8, 2022. It is now read-only.
Current Snap environment variable expansion is quite 'greedy'. Due to call to os.ExpandEnv() any symbol starting with $ will be expanded with no way to escape it. There should be some way to allow users to, for example pass config parameters with $ in them.
Possible solutions
Provide way to escape symbols with $ in them
Enable mechanism that expands only those symbols that are valid (set) environment variables
Problem
Current Snap environment variable expansion is quite 'greedy'. Due to call to
os.ExpandEnv()
any symbol starting with$
will be expanded with no way to escape it. There should be some way to allow users to, for example pass config parameters with$
in them.Possible solutions
$
in themFurther information can be found at issue #1691
@intelsdi-x/snap-maintainers
The text was updated successfully, but these errors were encountered: