From 7ed2cd91486e1ed014518eadca823157af9b9411 Mon Sep 17 00:00:00 2001 From: Eric Zhang Date: Mon, 18 Mar 2024 17:06:28 -0400 Subject: [PATCH] code-gen --- pkg/entrypoint/entrypointer_test.go | 1 - pkg/pod/status.go | 3 +++ 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/pkg/entrypoint/entrypointer_test.go b/pkg/entrypoint/entrypointer_test.go index abc1c73ac8d..f992ddba085 100644 --- a/pkg/entrypoint/entrypointer_test.go +++ b/pkg/entrypoint/entrypointer_test.go @@ -1395,7 +1395,6 @@ func TestGetArtifactValues(t *testing.T) { } if d := cmp.Diff(tc.want, got); d != "" { - fmt.Println(got) t.Fatalf("artifactValues don't match %s", diff.PrintWantGot(d)) } }) diff --git a/pkg/pod/status.go b/pkg/pod/status.go index 595e380e663..ff829b203d9 100644 --- a/pkg/pod/status.go +++ b/pkg/pod/status.go @@ -447,6 +447,9 @@ func filterResults(results []result.RunResult, specResults []v1.TaskResult, step } taskRunStepResults = append(taskRunStepResults, taskRunStepResult) filteredResults = append(filteredResults, r) + case result.ArtifactsResultType: + // not defined in spec + continue case result.InternalTektonResultType: // Internal messages are ignored because they're not used as external result continue