From 72c9a0553d2cc780365b749d5e229df868e45e6d Mon Sep 17 00:00:00 2001 From: damuzhi0810 Date: Fri, 24 Jan 2025 00:19:45 +0800 Subject: [PATCH] chore: fix some comments Signed-off-by: damuzhi0810 --- pkg/reconciler/pipelinerun/resources/pipelinerunstate.go | 2 +- test/per_feature_flags_test.go | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/pkg/reconciler/pipelinerun/resources/pipelinerunstate.go b/pkg/reconciler/pipelinerun/resources/pipelinerunstate.go index 0f1b82621cc..077bcc7340f 100644 --- a/pkg/reconciler/pipelinerun/resources/pipelinerunstate.go +++ b/pkg/reconciler/pipelinerun/resources/pipelinerunstate.go @@ -658,7 +658,7 @@ func (facts *PipelineRunFacts) GetPipelineTaskStatus() map[string]string { return tStatus } -// GetPipelineTaskStatus returns the status of a PipelineFinalTask depending on its taskRun +// GetPipelineFinalTaskStatus returns the status of a PipelineFinalTask depending on its taskRun func (facts *PipelineRunFacts) GetPipelineFinalTaskStatus() map[string]string { // construct a map of tasks..status and its state tStatus := make(map[string]string) diff --git a/test/per_feature_flags_test.go b/test/per_feature_flags_test.go index 4fb8f833005..dc96382e852 100644 --- a/test/per_feature_flags_test.go +++ b/test/per_feature_flags_test.go @@ -70,8 +70,8 @@ func TestPerFeatureFlagOptInAlpha(t *testing.T) { } } -// TestPerFeatureFlagOptInBeta tests the behavior with all beta Per-feature -// flags enabled. It first turns ON all beta per-feature flags by default and +// TestFeatureFlagOptInBeta tests the behavior with all beta feature +// flags enabled. It first turns ON all beta feature flags by default and // turns ON one alpha feature flag at a time to mock opt-in beta test env. func TestFeatureFlagOptInBeta(t *testing.T) { configMapData := createExpectedConfigMap(t, false)