Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

OpenHorizon captures (and send into docker) trailing whitespace in environment variables (AnyLog testing) #177

Open
ericaquaronne opened this issue Sep 11, 2024 · 0 comments

Comments

@ericaquaronne
Copy link

During deployment test with Anylog (in an Agent/Edge Node) we noticed that OpenHorizon captures (and send into docker) trailing whitespace in environment variables

Stepts to reproduce:
Set env variables for AnyLog (in docker-makefiles/) – for example I’ve set DEFAULT_DBMS in edgelake_operator.env to have an empty space at the end of the value
Deploy node – make publish EDGELAKE_TYPE=operator
Attach to container, you’ll notice a trailing whitespace
root@localhost:~/service-edgelake# docker exec -it 119d9ad92ee6 /bin/sh
/app # echo "|${DEFAULT_DBMS}|"
|edgex |
Expect: No trailing spaces
Actual: trailing space

@ericaquaronne ericaquaronne changed the title OpenHorizon captures (and send into docker) trailing whitespace in environment variables OpenHorizon captures (and send into docker) trailing whitespace in environment variables (AnyLog testing) Sep 11, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant