fix go-lint
Signed-off-by: Mikhail Scherba <mikhail.scherba@flant.com>
This commit is contained in:
parent
771faa105b
commit
257e919c5c
1 changed files with 1 additions and 1 deletions
|
@ -391,7 +391,7 @@ func TestCleanTempNginxCfg(t *testing.T) {
|
|||
|
||||
var files []string
|
||||
|
||||
err = filepath.Walk(tmpDir, func(path string, info os.FileInfo, err error) error {
|
||||
err = filepath.Walk(tmpDir, func(path string, info os.FileInfo, _ error) error {
|
||||
if info.IsDir() && tmpDir != path {
|
||||
return filepath.SkipDir
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue