Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(statefile): Ensure valid statefile #14937

Merged
merged 1 commit into from
Mar 5, 2024
Merged

Conversation

powersj
Copy link
Contributor

@powersj powersj commented Mar 5, 2024

Summary

The statefile should be a valid JSON file, not an empty file.

Checklist

  • No AI generated code was used in this PR

Related issues

fixes: #14935

@telegraf-tiger telegraf-tiger bot added the fix pr to fix corresponding bug label Mar 5, 2024
@telegraf-tiger
Copy link
Contributor

telegraf-tiger bot commented Mar 5, 2024

@powersj powersj marked this pull request as ready for review March 5, 2024 15:47
@powersj powersj added the ready for final review This pull request has been reviewed and/or tested by multiple users and is ready for a final review. label Mar 5, 2024
@DStrand1 DStrand1 removed their assignment Mar 5, 2024
@srebhan srebhan merged commit 8a16162 into influxdata:master Mar 5, 2024
26 checks passed
@github-actions github-actions bot added this to the v1.30.0 milestone Mar 5, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/packaging fix pr to fix corresponding bug ready for final review This pull request has been reviewed and/or tested by multiple users and is ready for a final review.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Telegraf won't start on empty (zero-length) statefile
3 participants