Skip to content

Commit

Permalink
small fix
Browse files Browse the repository at this point in the history
  • Loading branch information
winebarrel committed Jul 10, 2023
1 parent 3e5e00f commit a1382e1
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions definition/container.go
Original file line number Diff line number Diff line change
Expand Up @@ -114,6 +114,10 @@ func (containerDef *ContainerDefinition) patch(overrides string, command string,

patchedContent0, err = jsonpatch.MergePatch(
patchedContent0, []byte(`{"environment":[`+strings.Join(strEnvs, ",")+`]}`))

if err != nil {
panic(err)
}
}

var patchedContent []byte
Expand Down

0 comments on commit a1382e1

Please sign in to comment.