Commit 2de4d10
authored
Allow environment variables to contain numbers (#1481)
When environment variable pass-through is used, a warning is displayed
if the name of the variable contains a number and the value is taken
from the host. For example:
```
[cross] warning: got environment variable of "MY_VAR_AES256" which is not a valid environment variable name. the proper syntax is `passthrough = ["ENVVAR=value"]`
```
The variable is still passed onto the cross container with the value
from the host, but the warning is misleading.2 files changed
+5
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
914 | 914 | | |
915 | 915 | | |
916 | 916 | | |
917 | | - | |
| 917 | + | |
918 | 918 | | |
919 | 919 | | |
920 | 920 | | |
| |||
0 commit comments