This commit is contained in:
Ben Toogood 2020-02-06 11:15:30 +00:00
parent fc4191c647
commit 2925b1615c

View File

@ -268,7 +268,7 @@ func NewDeployment(name, version, typ string) *Deployment {
Image: DefaultImage,
Env: []EnvVar{env},
Command: []string{"go", "run", "main.go"},
Ports: []ContainerPort{
Ports: []ContainerPort{{
Name: "service-port",
ContainerPort: 8080,
}},