1
0
forked from ALHP/ALHP.GO

code cleanup, new linter conf

This commit is contained in:
2023-06-14 15:56:26 +02:00
parent 4b75e0f8a7
commit 442b793524
6 changed files with 46 additions and 38 deletions

View File

@@ -85,7 +85,7 @@ func (pkg Package) DBPackageIsolated(march string, repo dbpackage.Repository, db
)
}).Only(context.Background())
if ent.IsNotFound(err) {
log.Debugf("Not found in database: %s", pkg.Name())
log.Debugf("not found in database: %s", pkg.Name())
return nil, err
} else if err != nil {
return nil, err