chore: fix comment

This commit is contained in:
Tom Andrade 2022-05-17 14:18:51 +02:00
parent 65830755b9
commit e507707c0a
Signed by: wolvie
GPG Key ID: 31AAB07872E82669

View File

@ -159,7 +159,7 @@ func loadFromFile() (int, error) {
return len(dumpObj), err
}
// itemsFromPost loads kv pairs from a json POST to the in memory database
// loadFromJSON loads kv pairs from a json to the in memory database
func loadFromJSON(j []byte) (int, error) {
dumpObj := make(map[string]cache.Item)
err := json.Unmarshal(j, &dumpObj)