Commit 048e4ea
authored
[chore][pkg/stanza/fileconsumer] Use caller context in poll checkpoint save (#47333)
<!--Ex. Fixing a bug - Describe the bug and how this fixes the issue.
Ex. Adding a feature - Explain what this achieves.-->
#### Description
Replace `context.Background()` with the available `ctx` so the
checkpoint save participates in graceful shutdown.
Signed-off-by: Paulo Dias <paulodias.gm@gmail.com>1 parent e784e1a commit 048e4ea
1 file changed
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
152 | 152 | | |
153 | 153 | | |
154 | 154 | | |
155 | | - | |
| 155 | + | |
156 | 156 | | |
157 | 157 | | |
158 | 158 | | |
| |||
0 commit comments