From 1f69ab2259eca67c1e1ed96bd8c5abbef018f963 Mon Sep 17 00:00:00 2001 From: Vladislav Sukhin Date: Fri, 4 Aug 2023 14:53:21 +0300 Subject: [PATCH] fix: remove special chas for yaml (#4239) --- cmd/kubectl-testkube/commands/crds/tests_crds.go | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/cmd/kubectl-testkube/commands/crds/tests_crds.go b/cmd/kubectl-testkube/commands/crds/tests_crds.go index 67ca9546562..e2ab4bbda83 100644 --- a/cmd/kubectl-testkube/commands/crds/tests_crds.go +++ b/cmd/kubectl-testkube/commands/crds/tests_crds.go @@ -59,20 +59,20 @@ func NewCRDTestsCmd() *cobra.Command { cmd.Flags().Set("name", utils.SanitizeName(filepath.Base(path))) options, err := tests.NewUpsertTestOptionsFromFlags(cmd) if err != nil { - ui.Info("# getting test options for file", path, err.Error()) - ui.Info("---") + fmt.Println("# getting test options for file", path, err.Error()) + fmt.Println("---") return nil } (*testkube.TestUpsertRequest)(&options).QuoteTestTextFields() data, err := crd.ExecuteTemplate(crd.TemplateTest, options) if err != nil { - ui.Info("# executing crd template for file", err.Error()) - ui.Info("---") + fmt.Println("# executing crd template for file", err.Error()) + fmt.Println("---") return nil } - ui.Info(data) - ui.Info("---") + fmt.Println(data) + fmt.Println("---") return nil })