Fix typo in comment

This commit is contained in:
TwiN
2021-11-03 22:17:58 -04:00
parent 10fd4ecd6b
commit a94c480c22
2 changed files with 3 additions and 3 deletions

View File

@ -342,7 +342,7 @@ func (s *Store) DeleteAllEndpointStatusesNotInKeys(keys []string) int {
query += fmt.Sprintf("$%d,", i+1)
args = append(args, keys[i])
}
query = query[:len(query)-1] + ")" // Remove the last comma and close the parenthesis
query = query[:len(query)-1] + ")" // Remove the last comma and add the closing parenthesis
result, err = s.db.Exec(query, args...)
}
if err != nil {