mirror of
https://github.com/pgsty/minio.git
synced 2026-07-20 12:40:24 +03:00
Ignore permission errors on config-dir (#6894)
This commit is contained in:
committed by
kannappanr
parent
bef7c01c58
commit
26120d7838
+2
-1
@@ -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.
|
||||
|
||||
Reference in New Issue
Block a user