Fix a bug of fill oval information of Ubuntu
This commit is contained in:
@@ -57,6 +57,7 @@ func (o RedHatBase) fillFromOvalDB(r *models.ScanResult) error {
|
||||
func (o RedHatBase) getDefsByPackNameFromOvalDB(osRelease string,
|
||||
packs models.Packages) (relatedDefs []ovalmodels.Definition, err error) {
|
||||
|
||||
ovalconf.Conf.DebugSQL = config.Conf.DebugSQL
|
||||
ovalconf.Conf.DBType = config.Conf.OvalDBType
|
||||
if ovalconf.Conf.DBType == "sqlite3" {
|
||||
ovalconf.Conf.DBPath = config.Conf.OvalDBPath
|
||||
|
||||
Reference in New Issue
Block a user