Skip to content

Commit cb64885

Browse files
committed
Add debug log
1 parent 29c13d2 commit cb64885

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

pkg/os/filesystem/api.go

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@ import (
77
"path/filepath"
88

99
"golang.org/x/sys/windows"
10+
"k8s.io/klog/v2"
1011
)
1112

1213
// Implements the Filesystem OS API calls. All code here should be very simple
@@ -65,6 +66,7 @@ func pathValid(path string) (bool, error) {
6566
return false, fmt.Errorf("failed to get path %s attribute: %w", path, err)
6667
}
6768

69+
klog.V(6).Infof("Path %s attribute: %d", path, attrs)
6870
return attrs != windows.INVALID_FILE_ATTRIBUTES, nil
6971
}
7072

0 commit comments

Comments
 (0)