mirror of
https://github.com/containers/podman.git
synced 2025-12-01 10:38:05 +08:00
lint: reenable revive unused-parameter check
Signed-off-by: Matt Souza <medsouz99@gmail.com>
This commit is contained in:
@@ -195,7 +195,7 @@ func GetUserLevelFilter(resolvedUnitDirAdminUser string) func(string, bool) bool
|
||||
}
|
||||
|
||||
func GetNonNumericFilter(resolvedUnitDirAdminUser string, systemUserDirLevel int) func(string, bool) bool {
|
||||
return func(path string, isUserFlag bool) bool {
|
||||
return func(path string, _ bool) bool {
|
||||
// when running in rootless, recursive walk directories that are non numeric
|
||||
// ignore sub dirs under the `users` directory which correspond to a user id
|
||||
if strings.HasPrefix(path, resolvedUnitDirAdminUser) {
|
||||
|
||||
Reference in New Issue
Block a user