Skip to content

Commit 8729267

Browse files
Add Commands fields in Entrypoint (#389)
1 parent 598dcf6 commit 8729267

File tree

5 files changed

+546
-524
lines changed

5 files changed

+546
-524
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)