Skip to content

Commit

Permalink
Fix: send the right command to ospd (#1485)
Browse files Browse the repository at this point in the history
  • Loading branch information
jjnicola authored Sep 5, 2023
1 parent 95da7fd commit 3315881
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion rust/openvasd/src/scan.rs
Original file line number Diff line number Diff line change
Expand Up @@ -152,7 +152,7 @@ impl ScanDeleter for OSPDWrapper {
{
let rtimeout = self.r_timeout;
self.spawn_blocking(move |socket| {
osp::get_delete_scan_results(socket, rtimeout, id)
osp::delete_scan(socket, rtimeout, id)
.map(|_| ())
.map_err(Error::from)
})
Expand Down

0 comments on commit 3315881

Please sign in to comment.