Skip to content

Commit

Permalink
Prepare the configuration for additional_samples feature
Browse files Browse the repository at this point in the history
Summary:
Change the way to configure usage logging. Instead of
```
usage_logging = true
```
it's:
```
usage_logging(enabled = true, additional_samples = false)
```
This configuration is required in order to integrate additional samples feature since we want additional_samples to be disabled by default and enabled by request.

Reviewed By: AndreasBackx, anaveragehuman

Differential Revision: D64428011

fbshipit-source-id: 2294259617862c1f807c412781846be98fc9c2e5
  • Loading branch information
Roman0719 authored and facebook-github-bot committed Jan 6, 2025
1 parent d7019a6 commit ca084f4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/bin/fb_main_nodeps.rs
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ use fb_main_common::main_impl;
use fb_main_common::Args;
use fbinit::FacebookInit;

#[cli::main("scrut", usage_logging = false)]
#[cli::main("scrut", usage_logging(enabled = false))]
pub fn main(fb: FacebookInit, args: Args) -> Result<ExitCode> {
main_impl(fb, args)
}

0 comments on commit ca084f4

Please sign in to comment.