fix bsutil (kubeadm) unit tests (testdata)

上级 c7e22b1b
......@@ -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() {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册