Skip to content

Commit

Permalink
[omdb] typo fix in error message (#4631)
Browse files Browse the repository at this point in the history
Noticed this while investigating #4621:

```
warning: 16 collection errorwere s reported above
```
  • Loading branch information
jgallagher authored Dec 7, 2023
1 parent b3c07a9 commit 03823f1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion dev-tools/omdb/src/bin/omdb/db.rs
Original file line number Diff line number Diff line change
Expand Up @@ -2477,8 +2477,8 @@ async fn cmd_db_inventory_collections_show(
eprintln!(
"warning: {} collection error{} {} reported above",
nerrors,
if nerrors == 1 { "" } else { "s" },
if nerrors == 1 { "was" } else { "were" },
if nerrors == 1 { "" } else { "s" }
);
}

Expand Down

0 comments on commit 03823f1

Please sign in to comment.