Commit 59bd1d24 authored by Brendan Burns's avatar Brendan Burns

Fix some typos in third party resource printing

parent d8c1a9a4
......@@ -1335,10 +1335,10 @@ func printThirdPartyResource(rsrc *extensions.ThirdPartyResource, w io.Writer, w
versions := make([]string, len(rsrc.Versions))
for ix := range rsrc.Versions {
version := &rsrc.Versions[ix]
versions[ix] = fmt.Sprint("%s/%s", version.APIGroup, version.Name)
versions[ix] = fmt.Sprintf("%s/%s", version.APIGroup, version.Name)
}
versionsString := strings.Join(versions, ",")
if _, err := fmt.Fprintf(w, "%s\t%s\t%s", rsrc.Name, rsrc.Description, versionsString); err != nil {
if _, err := fmt.Fprintf(w, "%s\t%s\t%s\n", rsrc.Name, rsrc.Description, versionsString); err != nil {
return err
}
return nil
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment