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

[chore][pkg/stanza] Fix lint on Windows #30339

Merged
merged 2 commits into from
Jan 9, 2024

Conversation

pjanotti
Copy link
Contributor

@pjanotti pjanotti commented Jan 9, 2024

Description:
Fixing lint issues when GOOS=windows. This is in preparation to eventually include lint with GOOS=windows as part of CI.

Link to tracking Issue:
N/A

Testing:
make on component folder on a Windows box

Documentation:
N/A

@pjanotti pjanotti requested a review from djaglowski as a code owner January 9, 2024 03:36
@pjanotti pjanotti requested a review from a team January 9, 2024 03:36
}

// On windows, we close files immediately after reading becauase they cannot be moved while open.
// On windows, we close files immediately after reading because they cannot be moved while open.
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'm questioning the quality of the current misspell used during build: I spotted this typo while changing the code near by, this was not flagged by misspell.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Strange. Good catch though.

@songy23 songy23 added the Run Windows Enable running windows test on a PR label Jan 9, 2024
@djaglowski djaglowski merged commit 8249950 into open-telemetry:main Jan 9, 2024
98 checks passed
@github-actions github-actions bot added this to the next release milestone Jan 9, 2024
@pjanotti pjanotti deleted the windows-lint-pkg-stanza branch January 9, 2024 18:28
cparkins pushed a commit to AmadeusITGroup/opentelemetry-collector-contrib that referenced this pull request Jan 10, 2024
**Description:**
Fixing lint issues when GOOS=windows. This is in preparation to
eventually include lint with GOOS=windows as part of CI.

**Link to tracking Issue:**
N/A

**Testing:**
`make` on component folder on a Windows box

**Documentation:**
N/A
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
pkg/stanza Run Windows Enable running windows test on a PR
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants