We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4670503 commit 671d884Copy full SHA for 671d884
pkg/stream/client.go
@@ -840,7 +840,7 @@ func (c *Client) DeclareSubscriber(streamName string,
840
return nil, fmt.Errorf("filter enabled but post filter is nil. Post filter must be set")
841
}
842
843
- if options.IsFilterEnabled() && (options.Filter.Values == nil || len(options.Filter.Values) == 0) {
+ if options.IsFilterEnabled() && (len(options.Filter.Values) == 0) {
844
return nil, fmt.Errorf("filter enabled but no values. At least one value must be set")
845
846
0 commit comments