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

Revert "Use only the description functions during the feed update" #1810

Merged
merged 1 commit into from
Jan 15, 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
3 changes: 1 addition & 2 deletions rust/src/feed/update/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,6 @@ use futures::{stream, Stream, StreamExt};
use std::fs::File;
use tracing::trace;

use crate::nasl::builtin::Description;
use crate::nasl::interpreter::{CodeInterpreter, Interpreter};
use crate::nasl::nasl_std_functions;
use crate::nasl::prelude::*;
Expand Down Expand Up @@ -109,7 +108,7 @@ where
dispatcher: storage,
verifier,
feed_version_set: false,
executor: Executor::single(Description),
executor: nasl_std_functions(),
}
}

Expand Down
1 change: 0 additions & 1 deletion rust/src/nasl/builtin/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,6 @@ mod sys;
#[cfg(test)]
mod tests;

pub use description::Description;
pub use error::BuiltinError;
pub use host::HostError;
pub use knowledge_base::KBError;
Expand Down
2 changes: 1 addition & 1 deletion rust/src/nasl/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
//
// SPDX-License-Identifier: GPL-2.0-or-later WITH x11vnc-openssl-exception

pub mod builtin;
mod builtin;
pub mod interpreter;
pub mod syntax;
pub mod utils;
Expand Down
Loading