Skip to content
This repository has been archived by the owner on Feb 8, 2021. It is now read-only.

Commit

Permalink
Merge pull request #102 from feiskyer/update-service
Browse files Browse the repository at this point in the history
Fix hyper service
  • Loading branch information
harry authored Jun 23, 2016
2 parents 75c4d80 + e959b37 commit 19ee49a
Show file tree
Hide file tree
Showing 5 changed files with 11 additions and 13 deletions.
6 changes: 3 additions & 3 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ language: go

matrix:
include:
- go: 1.4
- go: 1.6

install:
- mkdir -p $HOME/gopath/src/k8s.io
Expand All @@ -24,8 +24,8 @@ install:
- go get github.com/mattn/goveralls
- go get github.com/jstemmer/go-junit-report
- ./hack/install-etcd.sh
- ./hack/build-go.sh
- godep go install ./...
- travis_wait 30 ./hack/build-go.sh
- travis_wait 30 godep go install ./...
- ./hack/verify-gofmt.sh
- ./hack/verify-boilerplate.sh
- ./hack/verify-description.sh
Expand Down
1 change: 0 additions & 1 deletion cmd/libs/go2idl/import-boss/generators/import_restrict.go
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,6 @@ import (
"k8s.io/kubernetes/cmd/libs/go2idl/generator"
"k8s.io/kubernetes/cmd/libs/go2idl/namer"
"k8s.io/kubernetes/cmd/libs/go2idl/types"

//"github.com/golang/glog"
)

Expand Down
8 changes: 4 additions & 4 deletions cmd/libs/go2idl/parser/parse_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -153,10 +153,10 @@ var FooAnotherVar proto.Frobber = proto.AnotherVar
tmpl := template.Must(
template.New("").
Funcs(
map[string]interface{}{
"Name": testNamer.Name,
"Raw": rawNamer.Name,
}).
map[string]interface{}{
"Name": testNamer.Name,
"Raw": rawNamer.Name,
}).
Parse(tmplText),
)
buf := &bytes.Buffer{}
Expand Down
1 change: 0 additions & 1 deletion pkg/kubelet/config/common_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,6 @@ import (
"k8s.io/kubernetes/pkg/apimachinery/registered"
"k8s.io/kubernetes/pkg/runtime"
"k8s.io/kubernetes/pkg/securitycontext"

//"github.com/ghodss/yaml"
)

Expand Down
8 changes: 4 additions & 4 deletions pkg/kubelet/hyper/types.go
Original file line number Diff line number Diff line change
Expand Up @@ -152,13 +152,13 @@ type HyperContainer struct {
}

type HyperServiceBackend struct {
HostIP string `json:"hostip"`
HostPort int `json:"hostport"`
HostIP string `json:"hostIP"`
HostPort int `json:"hostPort"`
}

type HyperService struct {
ServiceIP string `json:"serviceip"`
ServicePort int `json:"serviceport"`
ServiceIP string `json:"serviceIP"`
ServicePort int `json:"servicePort"`
Protocol string `json:"protocol"`
Hosts []HyperServiceBackend `json:"hosts"`
}

0 comments on commit 19ee49a

Please sign in to comment.