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
NR.OBSERVE doesn't reject the wrong number of arguments when in a MULTI. Here I'm running NR.OBSERVE with no arguments.
> MULTI
OK
> NR.OBSERVE
QUEUED
> NR.OBSERVE
QUEUED
> EXEC
1) (error) ERR wrong number of arguments for 'nr.observe' command
2) (error) ERR wrong number of arguments for 'nr.observe' command
I would expect that if you run NR.OBSERVE you would receive an immediate error and/or trigger an EXECABORT when running the EXEC command.
The text was updated successfully, but these errors were encountered:
This is actually an issue of modules API itself because this is the behavior of any module command. There's also a difference in how COMMAND GETKEYS responds for core and module commands if passed w/ incorrect arguments.
@itamarhaber So, am I reading that this is the expected behaviour? Or will a fix to the modules API make module commands behave the same way as the in-built commands?
NR.OBSERVE
doesn't reject the wrong number of arguments when in aMULTI
. Here I'm runningNR.OBSERVE
with no arguments.I would expect that if you run
NR.OBSERVE
you would receive an immediate error and/or trigger anEXECABORT
when running theEXEC
command.The text was updated successfully, but these errors were encountered: