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:
parent
8f87273837
commit
0c2768b711
6 changed files with 9 additions and 18 deletions
|
|
@ -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)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue