Fix: trait/comp command output without a new line (#3112)

Signed-off-by: qiaozp <chivalry.pp@gmail.com>
This commit is contained in:
qiaozp
2022-01-18 12:46:59 +08:00
committed by GitHub
parent 438a9fe7a5
commit bd2e574007
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -244,6 +244,6 @@ func PrintInstalledCompDef(c common2.Args, io cmdutil.IOStreams, filter filterFu
}
table.AddRow(capa.Name, capa.CrdName)
}
io.Infof(table.String())
io.Info(table.String())
return nil
}
+1 -1
View File
@@ -245,7 +245,7 @@ func PrintInstalledTraitDef(c common2.Args, io cmdutil.IOStreams, filter filterF
}
table.AddRow(capa.Name, capa.AppliesTo)
}
io.Infof(table.String())
io.Info(table.String())
return nil
}