Skip to content

Commit

Permalink
Fix error message
Browse files Browse the repository at this point in the history
Signed-off-by: Tamal Saha <tamal@appscode.com>
  • Loading branch information
tamalsaha committed Mar 22, 2018
1 parent 4e3f25b commit 58415b4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion libcontainer/configs/validate/rootless.go
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ func rootlessMappings(config *configs.Config) error {
return fmt.Errorf("rootless containers requires at least one UID mapping")
}
if len(config.GidMappings) == 0 {
return fmt.Errorf("rootless containers requires at least one UID mapping")
return fmt.Errorf("rootless containers requires at least one GID mapping")
}

return nil
Expand Down

0 comments on commit 58415b4

Please sign in to comment.