Skip to content

Commit 1edf956

Browse files
restrict hot tier for local store
1 parent b860b81 commit 1edf956

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

server/src/option.rs

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -83,6 +83,15 @@ Cloud Native, log analytics platform for modern applications."#,
8383
.exit()
8484
}
8585

86+
if cli.hot_tier_storage_path.is_some() {
87+
create_parseable_cli_command()
88+
.error(
89+
ErrorKind::ValueValidation,
90+
"Cannot use hot tier with local-store subcommand.",
91+
)
92+
.exit()
93+
}
94+
8695
Config {
8796
parseable: cli,
8897
storage: Arc::new(storage),

0 commit comments

Comments
 (0)