Arg => Args

This commit is contained in:
Ben Toogood 2020-02-06 12:17:16 +00:00
parent 48b9f3f5e9
commit 0591760932
2 changed files with 2 additions and 2 deletions

View File

@ -38,7 +38,7 @@ func newService(s *runtime.Service, c runtime.CreateOptions) *service {
for i := range kdeploy.Spec.Template.PodSpec.Containers {
kdeploy.Spec.Template.PodSpec.Containers[i].Image = s.Source
kdeploy.Spec.Template.PodSpec.Containers[i].Command = []string{}
kdeploy.Spec.Template.PodSpec.Containers[i].Arg = []string{name}
kdeploy.Spec.Template.PodSpec.Containers[i].Args = []string{name}
}
}

View File

@ -20,7 +20,7 @@ type Container struct {
Image string `json:"image"`
Env []EnvVar `json:"env,omitempty"`
Command []string `json:"command,omitempty"`
Arg []string `json:"arg,omitempty"`
Args []string `json:"args,omitempty"`
Ports []ContainerPort `json:"ports,omitempty"`
}