Commit 361405e4 authored by k8s-merge-robot's avatar k8s-merge-robot

Merge pull request #18311 from brendandburns/3rdparty3

Auto commit by PR queue bot
parents 5f7019ab 59bd1d24
......@@ -1354,10 +1354,10 @@ func printThirdPartyResource(rsrc *extensions.ThirdPartyResource, w io.Writer, o
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