Skip to content

Commit 472c56f

Browse files
committed
Add Commands fields in Entrypoint
1 parent 1f93621 commit 472c56f

File tree

5 files changed

+537
-523
lines changed

5 files changed

+537
-523
lines changed

cluster/calcium/create.go

+1-2
Original file line numberDiff line numberDiff line change
@@ -402,8 +402,7 @@ func (c *Calcium) doMakeWorkloadOptions(no int, msg *types.CreateWorkloadMessage
402402
msg.WorkloadName = config.Name
403403
// command and user
404404
// extra args is dynamically
405-
slices := utils.MakeCommandLineArgs(fmt.Sprintf("%s %s", entry.Command, opts.ExtraArgs))
406-
config.Cmd = slices
405+
config.Cmd = opts.Entrypoint.Commands
407406
// env
408407
env := append(opts.Env, fmt.Sprintf("APP_NAME=%s", opts.Name))
409408
env = append(env, fmt.Sprintf("ERU_POD=%s", opts.Podname))

0 commit comments

Comments
 (0)