Skip to content

Commit

Permalink
restrict hot tier for local store
Browse files Browse the repository at this point in the history
  • Loading branch information
nikhilsinhaparseable committed Oct 1, 2024
1 parent 5342702 commit f09acb8
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions server/src/option.rs
Original file line number Diff line number Diff line change
Expand Up @@ -83,6 +83,15 @@ Cloud Native, log analytics platform for modern applications."#,
.exit()
}

if cli.hot_tier_storage_path.is_some() {
create_parseable_cli_command()
.error(
ErrorKind::ValueValidation,
"Cannot use hot tier with local-store subcommand.",
)
.exit()
}

Config {
parseable: cli,
storage: Arc::new(storage),
Expand Down

0 comments on commit f09acb8

Please sign in to comment.