grim/convey

remove some commented dead code

2019-08-02, Gary Kramlich
e1d57596eb48
Parents 03b697604478
Children e1fc04a51a0a
remove some commented dead code
  • +0 -10
    docker/run.go
  • --- a/docker/run.go Fri Aug 02 00:10:42 2019 -0500
    +++ b/docker/run.go Fri Aug 02 00:11:23 2019 -0500
    @@ -211,16 +211,6 @@
    func (r *Run) Execute(name string, logger *log.Entry, env *environment.Environment, rt *runtime.Runtime) error {
    fullEnv := env.Copy().MergeSlice(r.Environment).Merge(rt.Environment)
    - // expand the environment
    - // for idx, item := range fullEnv {
    - // v, err := fullEnv.MapSlice(fullEnv.Items())
    - // if err != nil {
    - // return err
    - // }
    -
    - // fullEnv[idx] = v
    - // }
    -
    // create an id for this container
    runID := util.ShortID()