fix up event client for namespaces

This commit is contained in:
Daniel Smith
2014-11-13 19:09:03 -08:00
parent d153b98544
commit 3cf022786e
7 changed files with 133 additions and 24 deletions

View File

@@ -56,7 +56,7 @@ func main() {
glog.Fatalf("Invalid API configuration: %v", err)
}
record.StartRecording(kubeClient.Events(), "scheduler")
record.StartRecording(kubeClient.Events(""), "scheduler")
go http.ListenAndServe(net.JoinHostPort(address.String(), strconv.Itoa(*port)), nil)