diff options
author | OpenShift Merge Robot <openshift-merge-robot@users.noreply.github.com> | 2021-02-13 06:42:56 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-02-13 06:42:56 -0500 |
commit | 3ba0afdd0f03195827f46b50757928ead44b1567 (patch) | |
tree | 9d2cadfe791ebd5a326cc521560b644f586c575e /pkg/specgen/generate/config_linux.go | |
parent | 9d57aa75a5f22296b81cd37abe08660001971c4a (diff) | |
parent | 78b419909bdf1eeb4af17fff471b381de91bcf73 (diff) | |
download | podman-3ba0afdd0f03195827f46b50757928ead44b1567.tar.gz podman-3ba0afdd0f03195827f46b50757928ead44b1567.tar.bz2 podman-3ba0afdd0f03195827f46b50757928ead44b1567.zip |
Merge pull request #9342 from Luap99/lint
Enable more golangci-lint linters
Diffstat (limited to 'pkg/specgen/generate/config_linux.go')
-rw-r--r-- | pkg/specgen/generate/config_linux.go | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/pkg/specgen/generate/config_linux.go b/pkg/specgen/generate/config_linux.go index 1290a8eb6..b9f024814 100644 --- a/pkg/specgen/generate/config_linux.go +++ b/pkg/specgen/generate/config_linux.go @@ -113,7 +113,6 @@ func DevicesFromPath(g *generate.Generator, devicePath string) error { // mount the internal devices recursively if err := filepath.Walk(resolvedDevicePath, func(dpath string, f os.FileInfo, e error) error { - if f.Mode()&os.ModeDevice == os.ModeDevice { found = true device := fmt.Sprintf("%s:%s", dpath, filepath.Join(dest, strings.TrimPrefix(dpath, src))) |