Commit ee91b1a
Remove direct access to v2.Context.StatusReporter in Filestream (#48075)
v2.Context.StatusReporter can be nil when Filebeat runs
standalone. The direct access to this field is replaced in Filestream
by the UpdateStatus method. A deprecation notice is added is added to
the StatusReporter field.
(cherry picked from commit 72314a0)
# Conflicts:
# filebeat/input/filestream/internal/input-logfile/harvester.go1 parent 859a155 commit ee91b1a
File tree
2 files changed
+13
-0
lines changed- filebeat/input
- filestream/internal/input-logfile
- v2
2 files changed
+13
-0
lines changedLines changed: 11 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
206 | 206 | | |
207 | 207 | | |
208 | 208 | | |
| 209 | + | |
| 210 | + | |
| 211 | + | |
| 212 | + | |
| 213 | + | |
| 214 | + | |
| 215 | + | |
| 216 | + | |
| 217 | + | |
| 218 | + | |
| 219 | + | |
209 | 220 | | |
210 | 221 | | |
211 | 222 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
104 | 104 | | |
105 | 105 | | |
106 | 106 | | |
| 107 | + | |
| 108 | + | |
107 | 109 | | |
108 | 110 | | |
109 | 111 | | |
| |||
0 commit comments