Conversation
18ff960 to
1f50ceb
Compare
|
Fixed the comment ,splited the if. |
dgr/aci-test.go
Outdated
| } | ||
|
|
||
| var environment []types.EnvironmentVariable | ||
| if tmpEnv := append(aci.manifest.Tester.Aci.App.Environment, aci.manifest.Aci.App.Environment...); len(tmpEnv) != 0 { |
There was a problem hiding this comment.
this is wrong, append should end up in same array
There was a problem hiding this comment.
Fixed
even if i don't particularly agree w/h you on the same array stuff.
dgr/aci-test.go
Outdated
|
|
||
| var environment []types.EnvironmentVariable | ||
| if tmpEnv := append(aci.manifest.Tester.Aci.App.Environment, aci.manifest.Aci.App.Environment...); len(tmpEnv) != 0 { | ||
| environment = underscore.UniqBy(tmpEnv, "Name").([]types.EnvironmentVariable) |
There was a problem hiding this comment.
you don't need to change 456 files to do a uniq
There was a problem hiding this comment.
Vendor install + glide madness
1f50ceb to
e7318db
Compare
|
I think it's still wrong, if there is no test vars, you do not push the app vars and push only an empty list |
e7318db to
31a1ea2
Compare
|
I don't get it. |
|
My bad I misread the change |
Matthieu "Puckel_" Roisil (@puckel)
Fix issue when we want to add environment variable to the tester only.