Fix the container manifest to so that Command is an array, not a string.

This commit is contained in:
Brendan Burns
2014-06-19 20:19:40 -07:00
parent 466be48c74
commit ae9fce1358
3 changed files with 2 additions and 22 deletions

View File

@@ -57,7 +57,7 @@ type EnvVar struct {
type Container struct {
Name string `yaml:"name,omitempty" json:"name,omitempty"`
Image string `yaml:"image,omitempty" json:"image,omitempty"`
Command string `yaml:"command,omitempty" json:"command,omitempty"`
Command []string `yaml:"command,omitempty" json:"command,omitempty"`
WorkingDir string `yaml:"workingDir,omitempty" json:"workingDir,omitempty"`
Ports []Port `yaml:"ports,omitempty" json:"ports,omitempty"`
Env []EnvVar `yaml:"env,omitempty" json:"env,omitempty"`