1
0
mirror of https://github.com/OpenNebula/one.git synced 2025-01-20 14:03:36 +03:00

B #-: Improve inotify error handling (OneGate/Proxy fix) (#2365)

This commit is contained in:
Michal Opala 2022-11-22 14:16:11 +01:00 committed by GitHub
parent 727404d127
commit 85d16526ce
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -187,6 +187,13 @@ class OneGateProxy
exit 0
end
inotify
rescue Errno::ENOENT => e
@logger.error(self) do
e.message
end
# We assume here that the service will be restarted by
# the service manager.
exit e.class::Errno
end
def setup_service_addr