Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix panic on add_docker_metadata close (elastic#21882)
If the processor was not properly initialized, for example because it couldn't access the docker socket, then the watcher will be nil. Avoid trying to stop the watcher in that case. (cherry picked from commit 80b8f53)
- Loading branch information