1
0
Fork 0
mirror of https://github.com/gocsaf/csaf.git synced 2025-12-22 11:55:40 +01:00

Fix header client. Simplify code.

This commit is contained in:
Sascha L. Teichmann 2023-03-24 13:40:31 +01:00
parent 8f87273837
commit 0c2768b711
6 changed files with 9 additions and 18 deletions

View file

@ -163,10 +163,7 @@ func prepareCache(config string) (cache, error) {
if err != nil {
return err
}
if err := b.Put(cacheVersionKey, cacheVersion); err != nil {
return err
}
return nil
return b.Put(cacheVersionKey, cacheVersion)
}
b := tx.Bucket(validationsBucket)