Build error formatting on fission spec apply --wait (#1403)
The character `\n` in buildlog stores in package status are escaped and so when we have to replace them with actual line breaker.
This commit is contained in:
@@ -88,7 +88,7 @@ func Commands() *cobra.Command {
|
||||
infoCmd := &cobra.Command{
|
||||
Use: "info",
|
||||
Short: "Show package information",
|
||||
RunE: wrapper.Wrapper(List),
|
||||
RunE: wrapper.Wrapper(Info),
|
||||
}
|
||||
wrapper.SetFlags(infoCmd, flag.FlagSet{
|
||||
Required: []flag.Flag{flag.PkgName},
|
||||
@@ -98,7 +98,7 @@ func Commands() *cobra.Command {
|
||||
rebuildCmd := &cobra.Command{
|
||||
Use: "rebuild",
|
||||
Short: "Rebuild a failed package",
|
||||
RunE: wrapper.Wrapper(List),
|
||||
RunE: wrapper.Wrapper(Rebuild),
|
||||
}
|
||||
wrapper.SetFlags(rebuildCmd, flag.FlagSet{
|
||||
Required: []flag.Flag{flag.PkgName},
|
||||
|
||||
Reference in New Issue
Block a user