Skip to content

Commit 72c9a05

Browse files
committed
chore: fix some comments
Signed-off-by: damuzhi0810 <[email protected]>
1 parent 4f175cb commit 72c9a05

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

pkg/reconciler/pipelinerun/resources/pipelinerunstate.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -658,7 +658,7 @@ func (facts *PipelineRunFacts) GetPipelineTaskStatus() map[string]string {
658658
return tStatus
659659
}
660660

661-
// GetPipelineTaskStatus returns the status of a PipelineFinalTask depending on its taskRun
661+
// GetPipelineFinalTaskStatus returns the status of a PipelineFinalTask depending on its taskRun
662662
func (facts *PipelineRunFacts) GetPipelineFinalTaskStatus() map[string]string {
663663
// construct a map of tasks.<pipelineTask>.status and its state
664664
tStatus := make(map[string]string)

test/per_feature_flags_test.go

+2-2
Original file line numberDiff line numberDiff line change
@@ -70,8 +70,8 @@ func TestPerFeatureFlagOptInAlpha(t *testing.T) {
7070
}
7171
}
7272

73-
// TestPerFeatureFlagOptInBeta tests the behavior with all beta Per-feature
74-
// flags enabled. It first turns ON all beta per-feature flags by default and
73+
// TestFeatureFlagOptInBeta tests the behavior with all beta feature
74+
// flags enabled. It first turns ON all beta feature flags by default and
7575
// turns ON one alpha feature flag at a time to mock opt-in beta test env.
7676
func TestFeatureFlagOptInBeta(t *testing.T) {
7777
configMapData := createExpectedConfigMap(t, false)

0 commit comments

Comments
 (0)