database: Return explicit nil instead of err.

No functional change because err is already checked and known to be nil,
but explicitly returning nil is easier/quicker to interpret when
reading.
This commit is contained in:
jholdstock 2023-08-25 14:51:29 +01:00 committed by Jamie Holdstock
parent 9be203c923
commit 2fc60321e0

View File

@ -86,7 +86,7 @@ func (vdb *VspDatabase) writeHotBackupFile() error {
vdb.log.Tracef("Database backup written to %s", backupPath)
return err
return nil
}
// CreateNew intializes a new bbolt database with all of the necessary vspd