mirror of
https://github.com/kemko/nomad.git
synced 2026-01-01 16:05:42 +03:00
This PR protects access to `templateHook.templateManager` with its lock. So far we have not been able to reproduce the panic - but it seems either Poststart is running without a Prestart being run first (should be impossible), or the Update hook is running concurrently with Poststart, nil-ing out the templateManager in a race with Poststart. Fixes #15189
4 lines
96 B
Plaintext
4 lines
96 B
Plaintext
```release-note:bug
|
|
template: Fixed a bug where template could cause agent panic on startup
|
|
```
|