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

Commit 05f8d12

Browse files
committed
Fix hyper service
1 parent 75c4d80 commit 05f8d12

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

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)