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

Commit 19ee49a

Browse files
author
harry
authored
Merge pull request #102 from feiskyer/update-service
Fix hyper service
2 parents 75c4d80 + e959b37 commit 19ee49a

File tree

5 files changed

+11
-13
lines changed

5 files changed

+11
-13
lines changed

.travis.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ language: go
99

1010
matrix:
1111
include:
12-
- go: 1.4
12+
- go: 1.6
1313

1414
install:
1515
- mkdir -p $HOME/gopath/src/k8s.io
@@ -24,8 +24,8 @@ install:
2424
- go get github.com/mattn/goveralls
2525
- go get github.com/jstemmer/go-junit-report
2626
- ./hack/install-etcd.sh
27-
- ./hack/build-go.sh
28-
- godep go install ./...
27+
- travis_wait 30 ./hack/build-go.sh
28+
- travis_wait 30 godep go install ./...
2929
- ./hack/verify-gofmt.sh
3030
- ./hack/verify-boilerplate.sh
3131
- ./hack/verify-description.sh

cmd/libs/go2idl/import-boss/generators/import_restrict.go

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,6 @@ import (
3232
"k8s.io/kubernetes/cmd/libs/go2idl/generator"
3333
"k8s.io/kubernetes/cmd/libs/go2idl/namer"
3434
"k8s.io/kubernetes/cmd/libs/go2idl/types"
35-
3635
//"github.com/golang/glog"
3736
)
3837

cmd/libs/go2idl/parser/parse_test.go

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -153,10 +153,10 @@ var FooAnotherVar proto.Frobber = proto.AnotherVar
153153
tmpl := template.Must(
154154
template.New("").
155155
Funcs(
156-
map[string]interface{}{
157-
"Name": testNamer.Name,
158-
"Raw": rawNamer.Name,
159-
}).
156+
map[string]interface{}{
157+
"Name": testNamer.Name,
158+
"Raw": rawNamer.Name,
159+
}).
160160
Parse(tmplText),
161161
)
162162
buf := &bytes.Buffer{}

pkg/kubelet/config/common_test.go

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,6 @@ import (
2626
"k8s.io/kubernetes/pkg/apimachinery/registered"
2727
"k8s.io/kubernetes/pkg/runtime"
2828
"k8s.io/kubernetes/pkg/securitycontext"
29-
3029
//"github.com/ghodss/yaml"
3130
)
3231

pkg/kubelet/hyper/types.go

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -152,13 +152,13 @@ type HyperContainer struct {
152152
}
153153

154154
type HyperServiceBackend struct {
155-
HostIP string `json:"hostip"`
156-
HostPort int `json:"hostport"`
155+
HostIP string `json:"hostIP"`
156+
HostPort int `json:"hostPort"`
157157
}
158158

159159
type HyperService struct {
160-
ServiceIP string `json:"serviceip"`
161-
ServicePort int `json:"serviceport"`
160+
ServiceIP string `json:"serviceIP"`
161+
ServicePort int `json:"servicePort"`
162162
Protocol string `json:"protocol"`
163163
Hosts []HyperServiceBackend `json:"hosts"`
164164
}

0 commit comments

Comments
 (0)