mirror of
https://github.com/moby/moby.git
synced 2022-11-09 12:21:53 -05:00
24189b2c36
`${SOME_VAR%pattern}` was turning into `SOME_VAL%pattern}` which the shell would then balk at.
I've updated the `TOKEN_ENV_INTERPOLATION` regex to account for this (ie, if `${` is used, it _must_ also match the closing `}`), and renamed the variable to not be exported (since it's not used outside the function following it).
I also added comments for the bits of `tokenEnvInterpolation` so they're easier to follow. 😄
Signed-off-by: Andrew Page <admwiggin@gmail.com>
|
||
---|---|---|
.. | ||
parser | ||
dispatchers.go | ||
evaluator.go | ||
internals.go | ||
job.go | ||
MAINTAINERS | ||
support.go |