lib/service_skeleton/generator.rb in service_skeleton-0.0.0.48.g4a40599 vs lib/service_skeleton/generator.rb in service_skeleton-0.0.0.49.g47046b9
- old
+ new
@@ -91,19 +91,19 @@
klass: ServiceSkeleton::SignalManager,
method: :run,
args: [
logger: config.logger,
counter: counter,
- signals: global_signals(ultravisor) + wrap_service_signals(service_signals, ultravisor),
+ signals: global_signals(ultravisor, config.logger) + wrap_service_signals(service_signals, ultravisor),
],
shutdown: {
method: :shutdown,
timeout: 1,
}
)
end
- def global_signals(ultravisor)
+ def global_signals(ultravisor, logger)
# For mysterious reasons of mystery, simplecov doesn't recognise these
# procs as being called, even though there are definitely tests for
# them. So...
#:nocov:
[