Skip to content

Commit

Permalink
podex: add build to travis
Browse files Browse the repository at this point in the history
  • Loading branch information
proppy committed Oct 3, 2014
1 parent 8fdae1d commit 8f40d60
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion contrib/podex/podex.go
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down

0 comments on commit 8f40d60

Please sign in to comment.