fix index out of range

This commit is contained in:
Ulric Qin 2021-12-16 17:07:27 +08:00
parent 0f65a1f5dd
commit 8eb4a39e7d
1 changed files with 1 additions and 1 deletions

View File

@ -60,7 +60,7 @@ func remoteWrite(c *gin.Context) {
var (
now = time.Now().Unix()
ids = make(map[string]interface{})
lst = make([]interface{}, 0, count)
lst = make([]interface{}, count)
)
for i := 0; i < count; i++ {