Skip to content

Commit

Permalink
fix error message
Browse files Browse the repository at this point in the history
  • Loading branch information
shorii committed Sep 21, 2021
1 parent 19316ce commit 072a94b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/rootless.rs
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,7 @@ fn validate(spec: &Spec) -> Result<()> {
let uid_mappings = linux
.uid_mappings
.as_ref()
.context("rootless containers require LinuxIdMapping in spec")?;
.context("rootless containers require uid_mappings in spec")?;

if uid_mappings.is_empty() {
bail!("rootless containers require at least one uid mapping");
Expand Down

0 comments on commit 072a94b

Please sign in to comment.