Skip to content

Commit

Permalink
Add Commands fields in Entrypoint
Browse files Browse the repository at this point in the history
  • Loading branch information
jschwinger233 committed Apr 16, 2021
1 parent 1f93621 commit 472c56f
Show file tree
Hide file tree
Showing 5 changed files with 537 additions and 523 deletions.
3 changes: 1 addition & 2 deletions cluster/calcium/create.go
Original file line number Diff line number Diff line change
Expand Up @@ -402,8 +402,7 @@ func (c *Calcium) doMakeWorkloadOptions(no int, msg *types.CreateWorkloadMessage
msg.WorkloadName = config.Name
// command and user
// extra args is dynamically
slices := utils.MakeCommandLineArgs(fmt.Sprintf("%s %s", entry.Command, opts.ExtraArgs))
config.Cmd = slices
config.Cmd = opts.Entrypoint.Commands
// env
env := append(opts.Env, fmt.Sprintf("APP_NAME=%s", opts.Name))
env = append(env, fmt.Sprintf("ERU_POD=%s", opts.Podname))
Expand Down
Loading

0 comments on commit 472c56f

Please sign in to comment.