mirror of
https://github.com/volodymyrsmirnov/MalwareMultiScan.git
synced 2025-08-23 21:12:22 +00:00
code cleanup
This commit is contained in:
parent
b4c5c1a507
commit
cfcfe92784
@ -18,8 +18,8 @@ namespace MalwareMultiScan.Scanner.Services
|
||||
{
|
||||
private readonly IScanBackend _backend;
|
||||
private readonly IConfiguration _configuration;
|
||||
private readonly ILogger<ScanBackgroundJob> _logger;
|
||||
private readonly IBackgroundJobClient _jobClient;
|
||||
private readonly ILogger<ScanBackgroundJob> _logger;
|
||||
|
||||
/// <summary>
|
||||
/// Initialize scan background job.
|
||||
|
@ -83,7 +83,7 @@ namespace MalwareMultiScan.Tests.Api
|
||||
{
|
||||
Duration = 100,
|
||||
Status = ScanResultStatus.Succeeded,
|
||||
Threats = new []{"Test"}
|
||||
Threats = new[] {"Test"}
|
||||
});
|
||||
|
||||
result = await _resultService.GetScanResult(result.Id);
|
||||
|
@ -80,9 +80,9 @@ I.e. when you define `callbackUrl=http://localhost:1234/scan-results`, the POST
|
||||
|
||||
```json
|
||||
{
|
||||
"Status":1,
|
||||
"Duration":5,
|
||||
"Threats":["Malware.Dummy.Result"]
|
||||
"Status": 1,
|
||||
"Duration": 5,
|
||||
"Threats": ["Malware.Dummy.Result"]
|
||||
}
|
||||
```
|
||||
|
||||
|
@ -25,8 +25,6 @@ services:
|
||||
restart: on-failure
|
||||
ports:
|
||||
- "8888:8888"
|
||||
expose:
|
||||
- "8888"
|
||||
depends_on:
|
||||
- api
|
||||
environment:
|
||||
|
Loading…
x
Reference in New Issue
Block a user