fix: correct mismatched doc comments#4313
Open
eeshsaxena wants to merge 2 commits into
Open
Conversation
- runner.New had a doc comment starting with 'NewRunner' instead of the function name 'New'. - ExtractCommandFromArgs had a leftover 'FindDockerCmd' doc line above its own (correct) comment; remove the stray line. Signed-off-by: eeshsaxena <eeshsaxena@gmail.com>
|
CLA Assistant Lite bot All contributors have signed the CLA ✍️ ✅ |
|
The CLA check failed. Please ensure you have:
After fixing these issues, comment 'recheck' to trigger the workflow again. |
Author
|
I have read the CLA Document and I hereby sign the CLA |
slayerjain
added a commit
that referenced
this pull request
Jul 3, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Related Issue
N/A - small documentation correctness fix.
Description
Two Go doc comments did not match their functions:
runner.Newhad a doc comment starting with// NewRunner creates ..., but the function is namedNew(Go convention is for the comment to start with the function name).ExtractCommandFromArgshad a leftover// FindDockerCmd checks ...line sitting above its own (correct) doc comment - apparent copy-paste cruft. Removed the stray line.Documentation-only change; no behaviour is affected.