forked from External/ergo
fix 2-parameter case for *playback
This commit is contained in:
parent
e6e55bbf29
commit
af009a5bc1
2 changed files with 6 additions and 1 deletions
|
|
@ -108,6 +108,8 @@ func zncPlaybackPlayHandler(client *Client, command string, params []string, rb
|
|||
now := time.Now().UTC()
|
||||
var start, end time.Time
|
||||
switch len(params) {
|
||||
case 2:
|
||||
// #1205: this should have the same semantics as `LATEST *`
|
||||
case 3:
|
||||
// #831: this should have the same semantics as `LATEST timestamp=qux`,
|
||||
// or equivalently `BETWEEN timestamp=$now timestamp=qux`, as opposed to
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue