mirror of
https://github.com/kemko/nomad.git
synced 2026-01-08 19:35:41 +03:00
The task-level service hook is using the group-level method to get the provider namespace, but this was not designed with task-level `consul` blocks in mind. This leads to task-level services using the group-level `consul.namespace`. Fix by creating a method to get the correct namespace and move this into the service hook itself rather than in the outer `initHooks` method.
8.1 KiB
8.1 KiB