Skip to content

fix: correct mismatched doc comments#4313

Open
eeshsaxena wants to merge 2 commits into
keploy:mainfrom
eeshsaxena:fix-godoc-comments
Open

fix: correct mismatched doc comments#4313
eeshsaxena wants to merge 2 commits into
keploy:mainfrom
eeshsaxena:fix-godoc-comments

Conversation

@eeshsaxena

Copy link
Copy Markdown

Related Issue

N/A - small documentation correctness fix.

Description

Two Go doc comments did not match their functions:

  • runner.New had a doc comment starting with // NewRunner creates ..., but the function is named New (Go convention is for the comment to start with the function name).
  • ExtractCommandFromArgs had 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.

- 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>
@eeshsaxena eeshsaxena requested a review from gouravkrosx as a code owner June 30, 2026 05:37
@github-actions

github-actions Bot commented Jun 30, 2026

Copy link
Copy Markdown

CLA Assistant Lite bot All contributors have signed the CLA ✍️ ✅

@github-actions

Copy link
Copy Markdown

The CLA check failed. Please ensure you have:

  • Signed the CLA by commenting 'I have read the CLA Document and I hereby sign the CLA.'
  • Used the correct email address in your commits (matches the one you used to sign the CLA).

After fixing these issues, comment 'recheck' to trigger the workflow again.

@github-actions github-actions Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Thank you and congratulations 🎉 for opening your very first pull request in keploy

@eeshsaxena

Copy link
Copy Markdown
Author

I have read the CLA Document and I hereby sign the CLA

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants