mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-09-10 21:50:05 +00:00
Reduce logging noise
Don't use %#v for errors. Do use %+v when more detail than %v is needed. Fix typos Kublet -> Kubelet.
This commit is contained in:
@@ -61,7 +61,7 @@ func main() {
|
||||
|
||||
controllerManager.Run(1 * time.Second)
|
||||
|
||||
// Kublet
|
||||
// Kubelet
|
||||
fakeDocker1 := &kubelet.FakeDockerClient{}
|
||||
myKubelet := kubelet.Kubelet{
|
||||
Hostname: machineList[0],
|
||||
@@ -73,7 +73,7 @@ func main() {
|
||||
}
|
||||
go myKubelet.RunKubelet("", manifestUrl, servers[0], "localhost", "", 0)
|
||||
|
||||
// Create a second kublet so that the guestbook example's two redis slaves both
|
||||
// Create a second kubelet so that the guestbook example's two redis slaves both
|
||||
// have a place they can schedule.
|
||||
fakeDocker2 := &kubelet.FakeDockerClient{}
|
||||
otherKubelet := kubelet.Kubelet{
|
||||
|
Reference in New Issue
Block a user