Skip to content

Commit c9b071c

Browse files
committed
refactor
1 parent f280781 commit c9b071c

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

pkg/server/stream/v3/subscription.go

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -38,8 +38,9 @@ func newSubscription(emptyRequest bool, initialResourceVersions map[string]strin
3838
}
3939

4040
// By default we set the subscription as a wildcard only if the request was empty
41-
// and in legacy mode. Later on when we actually process the request, if the request
42-
// was non-empty, it may have an explicit wildcard subscription, in which case
41+
// and in legacy mode. Later on, outside of this constructor, when we actually
42+
// process the request, if the request was non-empty, it may have an
43+
// explicit wildcard subscription, in which case
4344
// we will set the wildcard field on the subscription accordingly.
4445
wildcard := emptyRequest && allowLegacyWildcard
4546

0 commit comments

Comments
 (0)