Skip to content

Commit

Permalink
chore: fix typo and remove unused var
Browse files Browse the repository at this point in the history
  • Loading branch information
MaineK00n committed Jun 25, 2024
1 parent c15e994 commit 0ef9e4f
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions db/redis.go
Original file line number Diff line number Diff line change
Expand Up @@ -49,11 +49,11 @@ import (
┌───┬─────────────────────────────┬───────────────┬───────────┬───────────────────────────────────────────┐
│ 1 │ OVAL#$OSFAMILY#$VERSION#DEF │ $DEFINITIONID │ $OVALJSON │ TO GET OVALJSON │
├───┼─────────────────────────────┼───────────────┼───────────┼───────────────────────────────────────────┤
│ 2 │ OVAL#FETCHMETA │ Revision │ string │ GET Go-Oval-Disctionary Binary Revision │
│ 2 │ OVAL#FETCHMETA │ Revision │ string │ GET Go-Oval-Dictionary Binary Revision
├───┼─────────────────────────────┼───────────────┼───────────┼───────────────────────────────────────────┤
│ 3 │ OVAL#FETCHMETA │ SchemaVersion │ uint │ GET Go-Oval-Disctionary Schema Version │
│ 3 │ OVAL#FETCHMETA │ SchemaVersion │ uint │ GET Go-Oval-Dictionary Schema Version
├───┼─────────────────────────────┼───────────────┼───────────┼───────────────────────────────────────────┤
│ 4 │ OVAL#FETCHMETA │ LastFetchedAt │ time.Time │ GET Go-Oval-Disctionary Last Fetched Time │
│ 4 │ OVAL#FETCHMETA │ LastFetchedAt │ time.Time │ GET Go-Oval-Dictionary Last Fetched Time
└───┴─────────────────────────────┴───────────────┴───────────┴───────────────────────────────────────────┘
**/
Expand All @@ -66,7 +66,6 @@ const (
pkgKeyFormat = "OVAL#%s#%s#PKG#%s"
depKeyFormat = "OVAL#%s#%s#DEP"
lastModifiedKeyFormat = "OVAL#%s#%s#LASTMODIFIED"
fileMetaKey = "OVAL#FILEMETA"
fetchMetaKey = "OVAL#FETCHMETA"
)

Expand Down

0 comments on commit 0ef9e4f

Please sign in to comment.