1
0
Fork 0
forked from External/ergo

fix 2-parameter case for *playback

This commit is contained in:
Shivaram Lingamneni 2020-07-21 16:33:17 -04:00
parent e6e55bbf29
commit af009a5bc1
2 changed files with 6 additions and 1 deletions

View file

@ -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