From 22d2b28446d6078fed984f73611a4741ab6e220c Mon Sep 17 00:00:00 2001 From: whg517 Date: Tue, 31 Dec 2024 11:32:25 +0800 Subject: [PATCH] test(e2e): fix catch syntex err --- test/e2e/krb5/chainsaw-test.yaml | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/test/e2e/krb5/chainsaw-test.yaml b/test/e2e/krb5/chainsaw-test.yaml index ce277af..9c5b4ba 100644 --- a/test/e2e/krb5/chainsaw-test.yaml +++ b/test/e2e/krb5/chainsaw-test.yaml @@ -99,11 +99,11 @@ spec: file: pod-scope.yaml - assert: file: pod-scope-assert.yaml - - catch: - - script: - env: - - name: NAMESPACE - value: ($namespace) - content: | - kubectl -n "$NAMESPACE" get pod - kubectl -n "$NAMESPACE" describe pod + - catch: + - script: + env: + - name: NAMESPACE + value: ($namespace) + content: | + kubectl -n "$NAMESPACE" get pod + kubectl -n "$NAMESPACE" describe pod