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:
parent
9be203c923
commit
2fc60321e0
@ -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
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user