Merge pull request #1762 from tamalsaha/patch-1

Fix error message
This commit is contained in:
Michael Crosby 2018-03-22 11:49:12 -04:00 committed by GitHub
commit ec9bf50586
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -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