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