From 06ad66a665642e91a53a877e5b1261f8fa904161 Mon Sep 17 00:00:00 2001 From: rcmadhankumar Date: Mon, 23 Oct 2023 14:00:37 +0530 Subject: [PATCH] fix --- .vscode/settings.json | 1 + test/e2e/ignore_failing_api_services_flag_test.go | 8 ++++---- 2 files changed, 5 insertions(+), 4 deletions(-) create mode 100644 .vscode/settings.json diff --git a/.vscode/settings.json b/.vscode/settings.json new file mode 100644 index 000000000..9e26dfeeb --- /dev/null +++ b/.vscode/settings.json @@ -0,0 +1 @@ +{} \ No newline at end of file diff --git a/test/e2e/ignore_failing_api_services_flag_test.go b/test/e2e/ignore_failing_api_services_flag_test.go index aa8475e99..db81ad3d2 100644 --- a/test/e2e/ignore_failing_api_services_flag_test.go +++ b/test/e2e/ignore_failing_api_services_flag_test.go @@ -134,12 +134,12 @@ metadata: fmt.Printf(" \n =========> Out: %+v", out) fmt.Printf("\n ==========> err: %+v", err) - out, err = kubectl.RunWithOpts([]string{"apply", "-f", "-"}, RunOpts{ - AllowError: true, IntoNs: true, StdinReader: strings.NewReader(yaml3)}) - - // out, err = kapp.RunWithOpts([]string{"deploy", "-f", "-", "-a", name3}, RunOpts{ + // out, err = kubectl.RunWithOpts([]string{"apply", "-f", "-"}, RunOpts{ // AllowError: true, IntoNs: true, StdinReader: strings.NewReader(yaml3)}) + out, err = kapp.RunWithOpts([]string{"deploy", "-f", "-", "-a", name3}, RunOpts{ + AllowError: true, IntoNs: true, StdinReader: strings.NewReader(yaml3)}) + fmt.Printf(" \n =========> Out: %+v", out) fmt.Printf("\n ==========> err: %+v", err) fmt.Printf("\n ==========> err.Error(): %+s", err.Error())