Add events to kubectl describe

This commit is contained in:
Daniel Smith
2014-11-14 11:56:41 -08:00
parent c2485a4056
commit 6a5da9ee19
2 changed files with 61 additions and 6 deletions

View File

@@ -396,7 +396,7 @@ func (t *TemplatePrinter) PrintObj(obj runtime.Object, w io.Writer) error {
return t.template.Execute(w, outObj)
}
func tabbedString(f func(*tabwriter.Writer) error) (string, error) {
func tabbedString(f func(io.Writer) error) (string, error) {
out := new(tabwriter.Writer)
b := make([]byte, 1024)
buf := bytes.NewBuffer(b)