mirror of
https://github.com/kemko/nomad.git
synced 2026-01-02 08:25:43 +03:00
When performing a graceful shutdown the client drain configuration is checked for a deadline which is appended to the timeout. When running as a server the client will not be set. Attempting to get the drain deadline will result in a panic. This checks for the client being available prior to fetching the deadline value.
55 KiB
55 KiB