Ignore permission errors on config-dir (#6894)

This commit is contained in:
Harshavardhana
2018-11-29 18:14:05 -08:00
committed by kannappanr
parent bef7c01c58
commit 26120d7838
3 changed files with 16 additions and 3 deletions
+2 -1
View File
@@ -223,7 +223,8 @@ func TestGetRootCAs(t *testing.T) {
certCAsDir string
expectedErr error
}{
{"nonexistent-dir", errFileNotFound},
// ignores non-existent directories.
{"nonexistent-dir", nil},
// Ignores directories.
{dir1, nil},
// Ignore empty directory.