Skip to content
This repository was archived by the owner on Nov 24, 2025. It is now read-only.

Fix GoDoc comment formatting in t3c-apply source#7038

Merged
zrhoffman merged 1 commit intoapache:masterfrom
ocket8888:t3c/fix-formatting
Aug 26, 2022
Merged

Fix GoDoc comment formatting in t3c-apply source#7038
zrhoffman merged 1 commit intoapache:masterfrom
ocket8888:t3c/fix-formatting

Conversation

@ocket8888
Copy link
Copy Markdown
Contributor

PR #6960 was erroneously merged with go fmt test failures, resulting in our GHAs failing on master and PR branches thereon based.

This fixes the issue, and also fixes a bug where t3-apply would consider attempting to tail a non-existent file to be a success with no output.


Which Traffic Control components are affected by this PR?

  • Traffic Control Cache Config (t3c, formerly ORT)

What is the best way to verify this PR?

Make sure existing tests pass, ensure the go fmt GHA now passes

If this is a bugfix, which Traffic Control versions contained the bug?

  • master

PR submission checklist

  • This PR utilizes existing tests
  • This PR has GoDoc comment documentation
  • This PR doesn't ned a CHANGELOG.md entry
  • This PR DOES NOT FIX A SERIOUS SECURITY VULNERABILITY

@ocket8888 ocket8888 added bug something isn't working as intended low impact affects only a small portion of a CDN, and cannot itself break one cache-config Cache config generation labels Aug 25, 2022
@ocket8888 ocket8888 mentioned this pull request Aug 25, 2022
4 tasks
Copy link
Copy Markdown
Contributor

@ericholguin ericholguin left a comment

Choose a reason for hiding this comment

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

Go fmt errors are fixed. GHA failures not related to this change.

Copy link
Copy Markdown
Member

@zrhoffman zrhoffman left a comment

Choose a reason for hiding this comment

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

The t3c integration tests keep failing, so I wouldn't feel comfortable merging this PR as-is, since you also include a code change. If you take the code change out/PR it separately, I'd be happy to merge this one, failing tests and all

@ocket8888
Copy link
Copy Markdown
Contributor Author

The tests are reportedly failing on master. Since I think my code changes fixed a bug, I'm happy to give it a day or two while someone looks into the failures on master and then rebase. If they continue to fail by, say, the end of Monday, I'll just file an issue and take the changes out.

Copy link
Copy Markdown
Member

@zrhoffman zrhoffman left a comment

Choose a reason for hiding this comment

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

ehh it has the same failure on master so

@zrhoffman zrhoffman merged commit 1343010 into apache:master Aug 26, 2022
@ocket8888 ocket8888 deleted the t3c/fix-formatting branch August 26, 2022 20:59
zrhoffman pushed a commit to zrhoffman/trafficcontrol that referenced this pull request Oct 2, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

bug something isn't working as intended cache-config Cache config generation low impact affects only a small portion of a CDN, and cannot itself break one

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants