You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Fixes#5163, by setting the
`PauseUntil` to `nil` if it was a zero-value.
This fixes the CLI `nats consumer resume` command, which is sending an
empty/nil body to `$JS.API.CONSUMER.PAUSE.*.*`.
Allowing for both sending an empty/nil body as well as omitting
`pause_until` (for example with just `{}`)
Signed-off-by: Maurice van Veen <[email protected]>
Observed behavior
When calling
nats consumer resume
it returns that the consumer is unpaused, but calling the consumer info indicates the consumer is still paused.Expected behavior
When calling
nats consumer resume
the consumer should be unpaused, and the consumer info should reflect that.Server and client version
Host environment
No response
Steps to reproduce
nats str add stream --subjects stream --defaults
nats con add stream consumer --pull --defaults
nats con info stream consumer -j
nats con pause stream consumer 7d -f
nats con info stream consumer -j
nats con resume stream consumer -f
CLI logs:
But, when requesting the consumer info again, it is not resumed.
The text was updated successfully, but these errors were encountered: