fix bsutil (kubeadm) unit tests (testdata)

pull/9713/head
Predrag Rogic 2020-11-15 22:01:09 +00:00
parent c7e22b1bad
commit d32c5980de
No known key found for this signature in database
GPG Key ID: F1FF5748C4855229
1 changed files with 1 additions and 1 deletions

View File

@ -69,7 +69,7 @@ func CopyFiles(runner command.Runner, files []assets.CopyableFile) error {
func ReverseDirList(path string, n int) (list []string, err error) {
files, err := ioutil.ReadDir(path)
if err != nil {
return nil, fmt.Errorf("Unable to list directory %s: %w", path, err)
return nil, fmt.Errorf("unable to list directory %s: %w", path, err)
}
for _, file := range files {
if file.IsDir() {