mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-09-09 05:01:46 +00:00
Add logging, fix crash
Crash was in kublet_server when fake docker client gives it nil pointer.
This commit is contained in:
@@ -173,7 +173,7 @@ func main() {
|
||||
if len(createdPods) != 7 {
|
||||
glog.Fatalf("Unexpected list of created pods:\n\n%#v\n\n%#v\n\n%#v\n\n", createdPods.List(), fakeDocker1.Created, fakeDocker2.Created)
|
||||
}
|
||||
glog.Infof("OK")
|
||||
glog.Infof("OK - found created pods: %#v", createdPods.List())
|
||||
}
|
||||
|
||||
// Serve a file for kubelet to read.
|
||||
|
Reference in New Issue
Block a user