Add events to kubectl (still need search function)

This commit is contained in:
Daniel Smith
2014-11-03 18:02:27 -08:00
parent 39fba7c8d5
commit 0b924ed9d9
5 changed files with 52 additions and 6 deletions

View File

@@ -110,6 +110,8 @@ Find more information at https://github.com/GoogleCloudPlatform/kubernetes.`,
}
}
// TODO: remove this function and references to it-- errors it prints are
// very unhelpful because file/line number are wrong.
func checkErr(err error) {
if err != nil {
glog.Fatalf("%v", err)