Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix rust typos #1815

Merged
merged 2 commits into from
Jan 16, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion rust/examples/scannerctl/scan-configs/README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Scan-Configs

This directoy contains scan configurations, similiar to the ones provided by GVMD.
This directory contains scan configurations, similar to the ones provided by GVMD.

In the examples we asumme that a skeleton scan configuration is created prior to executing the commands.

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
<nvt oid="1.3.6.1.4.1.25623.1.0.100315">
<name>Ping Host</name>
</nvt>
<name>Mark unrechable Hosts as dead (not scanning)</name>
<name>Mark unreachable Hosts as dead (not scanning)</name>
<type>checkbox</type>
<value>yes</value>
<id>5</id>
Expand Down
4 changes: 2 additions & 2 deletions rust/examples/scannerctl/scan-configs/discovery.xml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
<nvt oid="1.3.6.1.4.1.25623.1.0.100315">
<name>Ping Host</name>
</nvt>
<name>Report about unrechable Hosts</name>
<name>Report about unreachable Hosts</name>
<type>checkbox</type>
<value>no</value>
<id>6</id>
Expand All @@ -28,7 +28,7 @@
<nvt oid="1.3.6.1.4.1.25623.1.0.100315">
<name>Ping Host</name>
</nvt>
<name>Mark unrechable Hosts as dead (not scanning)</name>
<name>Mark unreachable Hosts as dead (not scanning)</name>
<type>checkbox</type>
<value>yes</value>
<id>5</id>
Expand Down
2 changes: 1 addition & 1 deletion rust/src/scannerctl/osp/start_scan.rs
Original file line number Diff line number Diff line change
Expand Up @@ -377,7 +377,7 @@ pub struct Credential {
/// - username
/// - password
///
/// This is done so that we don't have to explicitely create fields for all
/// This is done so that we don't have to explicitly create fields for all
/// credential types as there is an explicit verification later on when we
/// transform it to models::Credential
pub credentials: Vec<(String, String)>,
Expand Down
2 changes: 1 addition & 1 deletion rust/src/storage/redis/connector.rs
Original file line number Diff line number Diff line change
Expand Up @@ -692,7 +692,7 @@ impl CacheDispatcher<RedisCtx> {

/// Creates a dispatcher to be used to update the feed for a ospd service
///
/// Initializes a redis cache based on the given selecter and url and clears the namespace
/// Initializes a redis cache based on the given selector and url and clears the namespace
/// before returning the underlying cache as a Dispatcher.
pub fn as_dispatcher(
redis_url: &str,
Expand Down
1 change: 1 addition & 0 deletions rust/typos.toml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ hd = "hd"
guid = "guid"
GOST = "GOST"
fpr = "fpr"
nversion = "nversion"
Tehforsch marked this conversation as resolved.
Show resolved Hide resolved

[files]
extend-exclude = [
Expand Down
Loading