Skip to content

Commit d51e84f

Browse files
committed
add extra arguments support
1 parent 57d16bf commit d51e84f

File tree

9 files changed

+185
-124
lines changed

9 files changed

+185
-124
lines changed

VERSION

+1-1
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
0.7.4
1+
0.7.5

cluster/calcium/create_container.go

+3-2
Original file line numberDiff line numberDiff line change
@@ -453,11 +453,12 @@ func (c *calcium) makeContainerOptions(quota map[string]int, specs types.Specs,
453453
user = ""
454454
}
455455
// command and user
456-
slices := strings.Split(entry.Command, " ")
457-
starter, needNetwork := "launcher", "network"
456+
slices := utils.MakeCommandLineArgs(entry.Command + " " + opts.ExtraArgs)
457+
458458
// if not use raw to deploy, or use agent as network manager
459459
// we need to use our own script to start command
460460
if !opts.Raw && c.network.Type() == "agent" {
461+
starter, needNetwork := "launcher", "network"
461462
if entry.Privileged != "" {
462463
starter = "launcheroot"
463464
}

devtools/core_pb2.py

+39-32
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)