rearrange RunKubelet's parameters so that address and port are next to each other

This commit is contained in:
Daniel Smith
2014-07-01 16:47:37 -07:00
parent 11d6451d2a
commit 587fb75a7a
3 changed files with 5 additions and 5 deletions

View File

@@ -64,7 +64,7 @@ func startComponents(manifestURL string) (apiServerURL string) {
SyncFrequency: 5 * time.Second,
HTTPCheckFrequency: 5 * time.Second,
}
go myKubelet.RunKubelet("", manifestURL, servers[0], "localhost", "", 0)
go myKubelet.RunKubelet("", "", manifestURL, servers[0], "localhost", 10250)
// Create a second kubelet so that the guestbook example's two redis slaves both
// have a place they can schedule.
@@ -76,7 +76,7 @@ func startComponents(manifestURL string) (apiServerURL string) {
SyncFrequency: 5 * time.Second,
HTTPCheckFrequency: 5 * time.Second,
}
go otherKubelet.RunKubelet("", "", servers[0], "localhost", "", 0)
go otherKubelet.RunKubelet("", "", "", servers[0], "localhost", 10251)
return apiserver.URL
}