quickwit-oss/quickwit

Fix bad pattern used in CLI argument parsing

Open

#881 aperta il 10 dic 2021

Vedi su GitHub
 (1 commento) (0 reazioni) (1 assegnatario)Rust (553 fork)github user discovery
backlogenhancementgood first issuelow-priority

Metriche repository

Star
 (11.300 star)
Metriche merge PR
 (Metriche PR in attesa)

Descrizione

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.")?;

Guida contributor