podex: add build to travis

pull/6/head
Johan Euphrosine 2014-10-02 17:42:25 -07:00
parent 8fdae1d884
commit 8f40d603f9
2 changed files with 2 additions and 1 deletions

View File

@ -11,6 +11,7 @@ install:
- ./hack/verify-boilerplate.sh
- ./hack/install-std-race.sh
- ./hack/build-go.sh
- go get ./contrib/podex
script:
- KUBE_TIMEOUT='-timeout 60s' ./hack/test-go.sh

View File

@ -98,7 +98,7 @@ func main() {
manifest.Containers[0].Ports = append(manifest.Containers[0].Ports, v1beta1.Port{
Name: strings.Join([]string{baseName, p.Proto(), p.Port()}, "-"),
ContainerPort: port,
Protocol: strings.ToUpper(p.Proto()),
Protocol: v1beta1.Protocol(strings.ToUpper(p.Proto())),
})
}
if *generateJSON {