Skip to content

Commit 6d3a8e4

Browse files
Update comments in preview.go for clarity
Clarify comments in PreviewTag function regarding launch stages.
1 parent dbedf1c commit 6d3a8e4

1 file changed

Lines changed: 1 addition & 3 deletions

File tree

bundle/internal/annotation/preview.go

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,7 @@
11
package annotation
22

33
// PreviewTag returns the human-readable launch-stage prefix to prepend to a
4-
// field's or enum value's description. cli.json is filtered at
5-
// min-stage=PRIVATE_PREVIEW upstream, so DEVELOPMENT never reaches here and GA
6-
// yields no tag.
4+
// field's or enum value's description. Others are skipped.
75
func PreviewTag(launchStage string) string {
86
switch launchStage {
97
case "PRIVATE_PREVIEW":

0 commit comments

Comments
 (0)