summaryrefslogtreecommitdiff
path: root/cli/tools/bench.rs
diff options
context:
space:
mode:
Diffstat (limited to 'cli/tools/bench.rs')
-rw-r--r--cli/tools/bench.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/cli/tools/bench.rs b/cli/tools/bench.rs
index ebfa8f4d2..f20aca8e2 100644
--- a/cli/tools/bench.rs
+++ b/cli/tools/bench.rs
@@ -574,7 +574,7 @@ pub async fn run_benchmarks(
cli_options: CliOptions,
bench_options: BenchOptions,
) -> Result<(), AnyError> {
- let ps = ProcState::from_options(Arc::new(cli_options)).await?;
+ let ps = ProcState::from_cli_options(Arc::new(cli_options)).await?;
// Various bench files should not share the same permissions in terms of
// `PermissionsContainer` - otherwise granting/revoking permissions in one
// file would have impact on other files, which is undesirable.
@@ -613,7 +613,7 @@ pub async fn run_benchmarks_with_watch(
cli_options: CliOptions,
bench_options: BenchOptions,
) -> Result<(), AnyError> {
- let ps = ProcState::from_options(Arc::new(cli_options)).await?;
+ let ps = ProcState::from_cli_options(Arc::new(cli_options)).await?;
// Various bench files should not share the same permissions in terms of
// `PermissionsContainer` - otherwise granting/revoking permissions in one
// file would have impact on other files, which is undesirable.