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

Remove old migration code #563

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
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
5 changes: 0 additions & 5 deletions crates/bins/src/bin/datadog-static-analyzer.rs
Original file line number Diff line number Diff line change
Expand Up @@ -132,8 +132,6 @@ fn main() -> Result<()> {
"add-git-info",
"add Git information to the SARIF report",
);
// TODO (JF): Remove this when releasing 0.3.8
opts.optflag("", "ddsa-runtime", "(deprecated)");
opts.optopt(
"",
"rule-timeout-ms",
Expand Down Expand Up @@ -374,9 +372,6 @@ fn main() -> Result<()> {
let mut all_rule_results = vec![];
let mut all_stats = AnalysisStatistics::new();

if matches.opt_present("ddsa-runtime") {
println!("[WARNING] the --ddsa-runtime flag is deprecated and will be removed in the next version");
}
let timeout = matches
.opt_str("rule-timeout-ms")
.map(|val| {
Expand Down
7 changes: 0 additions & 7 deletions crates/bins/src/bin/datadog_static_analyzer_server/cli.rs
Original file line number Diff line number Diff line change
Expand Up @@ -57,8 +57,6 @@ fn get_opts() -> Options {
"/tmp/static-analysis-server",
);

// TODO (JF): Remove this when releasing 0.3.8
opts.optflag("", "ddsa-runtime", "(deprecated)");
opts
}

Expand Down Expand Up @@ -203,11 +201,6 @@ pub fn prepare_rocket(tx_keep_alive_error: Sender<i32>) -> Result<RocketPreparat
tracing::debug!("Address set to {addr}");
}

// TODO: should this be removed already?
if matches.opt_present("ddsa-runtime") {
println!("[WARNING] the --ddsa-runtime flag is deprecated and will be removed in the next version");
}

// channel used to send the shutdown handler so that we can exit the server gracefully
let (tx_rocket_shutdown, mut rx_rocket_shutdown) = channel::<Shutdown>(1);

Expand Down
Loading