Open adamsigal opened 4 years ago
You should try an example with
cmd => "/usr/bin/echo hello", cmd => "/usr/bin/echo world",
and see what happens!
But yeah, as discussed, I think this is a good (and possibly not too difficult) bug for you to work on after the env stuff is done or if you're blocked. The algorithm is trivial, however the most difficult part of this will be finding and deciding where the best place this code should be is. LMK how your reading goes.
Versions:
mgmt version 0.0.21-44-g590a4d0-dirty
Ubuntu LTS 18.04.1
go version go1.12.9 linux/amd64
Description:
When creating an exec resource in mcl, if the same field is defined more than once, it is not immediately prohibited. This causes errors down the line.
Here is a simple example file to demonstrate:
running this example produces the following output: