Преглед на файлове

cmd: preserve exact bytes when displaying template/system layers (#7586)

Blake Mizerany преди 5 месеца
родител
ревизия
67691e410d
променени са 1 файла, в които са добавени 2 реда и са изтрити 2 реда
  1. 2 2
      cmd/cmd.go

+ 2 - 2
cmd/cmd.go

@@ -800,9 +800,9 @@ func ShowHandler(cmd *cobra.Command, args []string) error {
 		case "parameters":
 			fmt.Println(resp.Parameters)
 		case "system":
-			fmt.Println(resp.System)
+			fmt.Print(resp.System)
 		case "template":
-			fmt.Println(resp.Template)
+			fmt.Print(resp.Template)
 		}
 
 		return nil