mirror of
https://github.com/apple/container.git
synced 2026-07-12 20:47:04 +00:00
0760791ac7
- Current DirectoryWatcher fails if `/etc/resolver` does not exist. This PR fixes DirectoryWatcher to handle non-existing `/etc/resolver` directory. If that directory does not exist, it first watches `/etc` directory to check if `/etc/resolver` directory is created later. Once it detects new `/etc/resolver` directory, it starts watching new DNS resolver files there. - This PR also fixes to log the exception thrown by API server's tasks. - Closes #1207