fix index out of range
This commit is contained in:
parent
0f65a1f5dd
commit
8eb4a39e7d
|
@ -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++ {
|
||||
|
|
Loading…
Reference in New Issue