Skip to content

Commit 0c3fd02

Browse files
committed
fix: change namespace argument to be optional in runWatch function as it breaks all consumers otherwise
1 parent a45d916 commit 0c3fd02

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

gateway/resolver/subscription.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ func (r *Service) runWatch(
4848

4949
gvk.Group = r.getOriginalGroupName(gvk.Group)
5050

51-
namespace, err := getStringArg(p.Args, NamespaceArg, true)
51+
namespace, err := getStringArg(p.Args, NamespaceArg, false)
5252
if err != nil {
5353
r.log.Error().Err(err).Msg("Failed to get namespace argument")
5454
return

0 commit comments

Comments
 (0)