quickwit-oss/quickwit

Fix bad pattern used in CLI argument parsing

オープン

#881 opened on 2021/12/10

 (1 件のコメント) (0 件のリアクション) (1 人の担当者)Rust (581 件のフォーク)github user discovery
backlogenhancementgood first issuelow-priority

Repository metrics

Stars
 (11,537 個のスター)
PR merge metrics
 (平均マージ 5d 18h) (30d で 41 merged PRs)

説明

As suggested by @guilload

Would be better to use this pattern:

let metastore_uri = matches
    .value_of("metastore-uri")
    .map(normalize_uri)
    .expect("`metastore-uri` should be a required arg.")?;

コントリビューターガイド