Skip to content

templates: add formatJSON func#6435

Merged
thaJeztah merged 1 commit intodocker:masterfrom
thaJeztah:templates_extract_formatJSON
Sep 8, 2025
Merged

templates: add formatJSON func#6435
thaJeztah merged 1 commit intodocker:masterfrom
thaJeztah:templates_extract_formatJSON

Conversation

@thaJeztah
Copy link
Member

Move the function used to format as JSON to a separate function instead of definining it inline.

- Human readable description for the release notes

- A picture of a cute animal (not mandatory but encouraged)

Move the function used to format as JSON to a separate function instead
of definining it inline.

Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
@thaJeztah thaJeztah added this to the 29.0.0 milestone Sep 8, 2025
@thaJeztah thaJeztah added status/2-code-review kind/refactor PR's that refactor, or clean-up code labels Sep 8, 2025
@codecov-commenter
Copy link

Codecov Report

❌ Patch coverage is 75.00000% with 2 lines in your changes missing coverage. Please review.

Files with missing lines Patch % Lines
templates/templates.go 75.00% 1 Missing and 1 partial ⚠️

📢 Thoughts on this report? Let us know!

@thaJeztah
Copy link
Member Author

Had this in another branch that still needs some work, so pushing as a separate PR 😄

@thaJeztah thaJeztah merged commit d62d370 into docker:master Sep 8, 2025
96 checks passed
@thaJeztah thaJeztah deleted the templates_extract_formatJSON branch September 8, 2025 15:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

kind/refactor PR's that refactor, or clean-up code status/2-code-review

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants