fix(services): Empty environment variables are not maintained (#836)
This commit is contained in:
@@ -145,7 +145,7 @@ function ($scope, $state, Service, ServiceHelper, Volume, Network, ImageHelper,
|
||||
function prepareEnvConfig(config, input) {
|
||||
var env = [];
|
||||
input.Env.forEach(function (v) {
|
||||
if (v.name && v.value) {
|
||||
if (v.name) {
|
||||
env.push(v.name + "=" + v.value);
|
||||
}
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user