Skip to content

Commit

Permalink
Fix typos
Browse files Browse the repository at this point in the history
  • Loading branch information
Kraemii committed Dec 16, 2024
1 parent dbe087e commit 01f9bee
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions rust/examples/openvasd/config.example.toml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Openvasd contains several modes to control the behaviour of it.
# Openvasd contains several modes to control the behavior of it.
# Service enables nasl and notus feed observations all endpoints.
mode = "service"
# Notus disables /scan endpoints and just observes the notus feed.
Expand All @@ -7,7 +7,7 @@ mode = "service"
[feed]
# Path to the openvas feed. This is required for the /vts endpoint.
path = "/var/lib/openvas/plugins"
# Disables or enables the signnature check
# Disables or enables the signature check
signature_check = true

[feed.check_interval]
Expand Down Expand Up @@ -88,7 +88,7 @@ url = "redis://localhost:6379"
[storage.fs]
# Sets the storage root directory if the storage.type is set to `fs`.
path = "/var/lib/openvasd/storage"
# Sets the key used to ecrypt the storage data. It is recommended to set it via the `STORAGE_KEY` environment variable.
# Sets the key used to encrypt the storage data. It is recommended to set it via the `STORAGE_KEY` environment variable.
#key = "changeme"

[scheduler]
Expand Down
2 changes: 1 addition & 1 deletion rust/src/storage/item.rs
Original file line number Diff line number Diff line change
Expand Up @@ -431,7 +431,7 @@ impl From<QodType> for i64 {
pub type TagValue = types::Primitive;

impl TagValue {
/// Parhse the given Value based on the key to TagValue
/// Parse the given Value based on the key to TagValue
// TODO move naslvalue out of syntax to own crate so we can use it here
pub fn parse<V: ToString>(key: TagKey, value: V) -> Result<Self, StorageError> {
let error = || StorageError::UnexpectedData(format!("{key:?} => {}", value.to_string()));
Expand Down

0 comments on commit 01f9bee

Please sign in to comment.