mirror of
https://github.com/containers/podman.git
synced 2025-11-29 17:48:05 +08:00
lint: reenable revive unused-parameter check
Signed-off-by: Matt Souza <medsouz99@gmail.com>
This commit is contained in:
@@ -73,7 +73,7 @@ func DevicesFromPath(g *generate.Generator, devicePath string, config *config.Co
|
||||
}
|
||||
|
||||
// mount the internal devices recursively
|
||||
if err := filepath.WalkDir(resolvedDevicePath, func(dpath string, d fs.DirEntry, e error) error {
|
||||
if err := filepath.WalkDir(resolvedDevicePath, func(dpath string, d fs.DirEntry, _ error) error {
|
||||
if d.Type()&os.ModeDevice == os.ModeDevice {
|
||||
found = true
|
||||
device := fmt.Sprintf("%s:%s", dpath, filepath.Join(dest, strings.TrimPrefix(dpath, src)))
|
||||
|
||||
Reference in New Issue
Block a user