DEV: Remove git_version from DiscourseLogstashLogger log event (#27730)

In our official Docker image, running git commands results in the
following error:

```
fatal: detected dubious ownership in repository at '/var/www/discourse'
To add an exception for this directory, call:

	git config --global --add safe.directory /var/www/discourse
```
This commit is contained in:
Alan Guo Xiang Tan
2024-07-05 15:22:03 +08:00
committed by GitHub
parent 72fd509fd4
commit bb0daa33cd
2 changed files with 0 additions and 4 deletions

View File

@ -21,7 +21,6 @@ RSpec.describe DiscourseLogstashLogger do
"pid" => described_class::PROCESS_PID,
"type" => "test",
"host" => described_class::HOST,
"git_version" => described_class::GIT_VERSION,
"method" => "GET",
"path" => "/",
"format" => "html",