Skip to content

Commit

Permalink
Remove prefix for environment variables in features v2
Browse files Browse the repository at this point in the history
  • Loading branch information
edgonmsft authored Jun 2, 2022
1 parent 5e29707 commit ec88721
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/spec-node/containerFeatures.ts
Original file line number Diff line number Diff line change
Expand Up @@ -350,7 +350,7 @@ function getFeatureEnvVariables(f: Feature) {
} else {
if (values) {
variables.push(...Object.keys(values)
.map(name => `${idSafe}_${getSafeId(name)}="${values[name]}"`));
.map(name => `${getSafeId(name)}="${values[name]}"`));
}
if (f.buildArg) {
variables.push(`${f.buildArg}=${getFeatureMainValue(f)}`);
Expand Down

0 comments on commit ec88721

Please sign in to comment.