fix: log added and minor fixes applied

Signed-off-by: Mujib Ahasan <ahasanmujib8@gmail.com>
This commit is contained in:
Mujib Ahasan
2025-12-09 22:07:29 +05:30
parent efbb8e8367
commit cb7cca7b44
2 changed files with 3 additions and 1 deletions
@@ -21,7 +21,7 @@ type ScanQueryParams struct {
// Do not delete results after returning (relevant only for synchronous requests)
// default: false
KeepResults bool `schema:"keep" json:"keep"`
// Donot persist data after scanning
// Do not persist data after scanning
//default: false
SkipPersistence bool `schema:"skipPersistence" json:"skipPersistence"`
}
@@ -99,6 +99,8 @@ func scan(ctx context.Context, scanInfo *cautils.ScanInfo, scanID string, skipPe
} else {
logger.L().Debug("storage is not initialized - skipping storing results")
}
} else {
logger.L().Info("skipPersistence=true, skipping storing results")
}
return nil, nil