Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix profile list when profiles directory is missing
This was reported in [1] and fixed in [2] in 2019, but later it was broken by [3] in commit c3aafae. `listProfiles()` can return `os.ErrNotExist` from `os.ReadDir()` so it must be tested with `os.IsNotExist()`. [1] kubernetes#5898 [2] kubernetes#5955 [3] kubernetes#6440
- Loading branch information